org.jcoderz.phoenix.sqlparser
Interface ScannerInterface

All Known Implementing Classes:
SqlScanner

public interface ScannerInterface

Author:
Michael Griffel

Method Summary
 int getColumn()
          Returns the column.
 int getLine()
          Returns the line.
 Token nextToken()
          Returns the next token.
 void setReportWhitespace(boolean b)
          switch white space reporting on/off.
 

Method Detail

nextToken

Token nextToken()
                throws ParseException
Returns the next token.

Returns:
the next token
Throws:
ParseException - if a syntax error is encountered

getLine

int getLine()
Returns the line.

Returns:
the line.

getColumn

int getColumn()
Returns the column.

Returns:
the column.

setReportWhitespace

void setReportWhitespace(boolean b)
switch white space reporting on/off.

Parameters:
b - white space reporting flag


Copyright 2007 The jCoderZ Project.