|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fri.patterns.interpreter.parsergenerator.semantics.TreeBuilderSemantic.Node
Node class that representy a syntax tree node. All sub-nodes are contained as children.
Constructor Summary | |
TreeBuilderSemantic.Node(Rule rule,
java.util.List inputTokens,
java.util.List ranges)
|
Method Summary | |
java.util.List |
getInputTokens()
Returns the instance token list. |
java.util.List |
getRanges()
Returns the instance token line range list. |
Rule |
getRule()
Returns the rule of this syntax tree node. |
java.lang.String |
toString()
Returns "nonterminal@hashcode" as String representation of this node. |
java.lang.String |
toString(int indent)
Returns the human readable representation of this node and all sub-nodes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TreeBuilderSemantic.Node(Rule rule, java.util.List inputTokens, java.util.List ranges)
Method Detail |
public Rule getRule()
public java.util.List getInputTokens()
public java.util.List getRanges()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int indent)
indent
- spaces to indent on sub-nodes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |