Package org.antlr.runtime.tree
Class TreeRuleReturnScope
java.lang.Object
org.antlr.runtime.RuleReturnScope
org.antlr.runtime.tree.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
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.antlr.runtime.RuleReturnScope
getStop, getTemplate, getTree
-
Field Details
-
start
First node or root node of tree matched for this rule.
-
-
Constructor Details
-
TreeRuleReturnScope
public TreeRuleReturnScope()
-
-
Method Details
-
getStart
Description copied from class:RuleReturnScope
Return the start token or tree- Overrides:
getStart
in classRuleReturnScope
-