public class TreeRuleReturnScope extends RuleReturnScope
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.| Modifier and Type | Field and Description |
|---|---|
Object |
start
First node or root node of tree matched for this rule.
|
| Constructor and Description |
|---|
TreeRuleReturnScope() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getStart()
Return the start token or tree
|
getStop, getTemplate, getTreepublic Object start
public Object getStart()
RuleReturnScopegetStart in class RuleReturnScopeCopyright © 1992-2013 ANTLR. All Rights Reserved.