public class Parser
extends java.lang.Object
Lexer.| Constructor and Description |
|---|
Parser(Lexer lexer)
Initializes a new instance of the Parser class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDone()
Gets a value indicating whether the parser consumed all tokens
in the source list.
|
ParseTreeNode |
parse()
Returns a ParseTreeNode corresponding to the parsed tree starting
at the 'expression' nonterminal.
|
public Parser(Lexer lexer)
public ParseTreeNode parse()
public boolean getDone()