|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.antlr.runtime.RuleReturnScope
org.antlr.runtime.tree.TreeRuleReturnScope
public class TreeRuleReturnScope
This is identical to the ParserRuleReturnScope except that the start property is a tree nodes not Token object when you are parsing trees. To be generic the tree node types have to be Object.
Field Summary | |
---|---|
java.lang.Object |
start
First node or root node of tree matched for this rule. |
Constructor Summary | |
---|---|
TreeRuleReturnScope()
|
Method Summary | |
---|---|
java.lang.Object |
getStart()
Return the start token or tree |
Methods inherited from class org.antlr.runtime.RuleReturnScope |
---|
getStop, getTemplate, getTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Object start
Constructor Detail |
---|
public TreeRuleReturnScope()
Method Detail |
---|
public java.lang.Object getStart()
RuleReturnScope
getStart
in class RuleReturnScope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |