public Lexer(String s){
  initKeywords();
  tok=new StreamTokenizer(new StringReader(s));
  tok.wordChars('_','_');
  tok.ordinaryChar('.');
  tok.lowerCaseMode(true);
  nextToken();
}

public Lexer ( String s ) { initKeywords ( ) ; tok = new StreamTokenizer ( new StringReader ( s ) ) ; tok . wordChars ( '_' , '_' ) ; tok . ordinaryChar ( '.' ) ; tok . lowerCaseMode ( true ) ; nextToken ( ) ; }
creates a new lexical analyzer for the specified sql statement .
