Package org.antlr.runtime.tree
Class TreeRuleReturnScope
- java.lang.Object
-
- org.antlr.runtime.RuleReturnScope
-
- org.antlr.runtime.tree.TreeRuleReturnScope
-
public class TreeRuleReturnScope extends RuleReturnScope
This is identical to theParserRuleReturnScope
except that the start property is a tree nodes notToken
object when you are parsing trees. To be generic the tree node types have to beObject
.
-
-
Constructor Summary
Constructors Constructor Description TreeRuleReturnScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getStart()
Return the start token or tree-
Methods inherited from class org.antlr.runtime.RuleReturnScope
getStop, getTemplate, getTree
-
-
-
-
Field Detail
-
start
public Object start
First node or root node of tree matched for this rule.
-
-
Method Detail
-
getStart
public Object getStart()
Description copied from class:RuleReturnScope
Return the start token or tree- Overrides:
getStart
in classRuleReturnScope
-
-