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 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 |
Object |
start
First node or root node of tree matched for this rule. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
start
public Object start
- First node or root node of tree matched for this rule.
TreeRuleReturnScope
public TreeRuleReturnScope()
getStart
public Object getStart()
- Description copied from class:
RuleReturnScope
- Return the start token or tree
- Overrides:
getStart
in class RuleReturnScope
Copyright © 2011. All Rights Reserved.