|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ParseException | |
net.percederberg.grammatica.parser |
Uses of ParseException in net.percederberg.grammatica.parser |
Methods in net.percederberg.grammatica.parser that throw ParseException | |
Node |
RecursiveDescentParser.parse()
Parses the input stream and creates a parse tree. |
protected Node |
Analyzer.process(Node node)
Processes a parse tree node and creates a new node that is the result of processing all children recursively. |
protected void |
Analyzer.enter(Node node)
Called when entering a parse tree node. |
protected Node |
Analyzer.exit(Node node)
Called when exiting a parse tree node. |
protected void |
Analyzer.child(Production node,
Node child)
Called when adding a child to a parse tree node. |
abstract Node |
Parser.parse()
Parses the token stream and returns a parse tree. |
protected void |
Parser.enterNode(Node node)
Handles the parser entering a production. |
protected Node |
Parser.exitNode(Node node)
Handles the parser leaving a production. |
protected void |
Parser.addNode(Production node,
Node child)
Handles the parser adding a child node to a production. |
protected Token |
Parser.nextToken()
Reads and consumes the next token in the queue. |
protected Token |
Parser.nextToken(int id)
Reads and consumes the next token in the queue. |
protected Token |
Parser.peekToken(int steps)
Returns a token from the queue. |
Token |
Tokenizer.next()
Finds the next token on the stream. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |