|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Node | |
net.percederberg.grammatica.parser |
Uses of Node in net.percederberg.grammatica.parser |
Subclasses of Node in net.percederberg.grammatica.parser | |
class |
Production
A production node. |
class |
Token
A token node. |
Methods in net.percederberg.grammatica.parser that return Node | |
Node |
RecursiveDescentParser.parse()
Parses the input stream and creates a parse tree. |
Node |
Production.getChildAt(int index)
Returns the child node with the specified index. |
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 Node |
Analyzer.exit(Node node)
Called when exiting a parse tree node. |
abstract Node |
Parser.parse()
Parses the token stream and returns a parse tree. |
protected Node |
Parser.exitNode(Node node)
Handles the parser leaving a production. |
Node |
Node.getParent()
Returns the parent node. |
Node |
Node.getChildAt(int index)
Returns the child node with the specified index. |
Methods in net.percederberg.grammatica.parser with parameters of type Node | |
void |
Production.addChild(Node child)
Adds a child node. |
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. |
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. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |