net.cscott.sinjdoc.lexer

Class Lexer

public class Lexer extends Object

Java lexer.

Author: C. Scott Ananian (cscott@cscott.net)

Constructor Summary
Lexer(Reader reader)
Lexer(Reader reader, int java_minor_version)
Method Summary
voidclearComment()
booleandebug_lex()
voiderrorMsg(String msg, Symbol info)
StringlastComment()
intlastCommentPos()
SymbolnextToken()
intnumErrors()

Constructor Detail

Lexer

public Lexer(Reader reader)

Lexer

public Lexer(Reader reader, int java_minor_version)

Method Detail

clearComment

public void clearComment()

debug_lex

public boolean debug_lex()

errorMsg

public void errorMsg(String msg, Symbol info)

lastComment

public String lastComment()

lastCommentPos

public int lastCommentPos()

nextToken

public Symbol nextToken()

numErrors

public int numErrors()
Copyright © 2003 C. Scott Ananian