gnu.ecmascript
Class Parser
public
class
Parser
extends Object
public int errors
public String getIdentifier()
public void getSemicolon()
Skip an explicit or implicit semicolon.
public Object getToken()
public static void main(String[] args)
public Object peekToken()
Return the next non-whitespace token from the lexer.
LineTerminators are skipped until a non-eolToken is found.
public Object peekTokenOrLine()
Return the next token from the lexer.
A LineTerminator is considered a token.
public final void skipToken()