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 | Description |
|---|---|---|
Object |
start |
First node or root node of tree matched for this rule.
|
| Constructor | Description |
|---|---|
TreeRuleReturnScope() |
| Modifier and Type | Method | Description |
|---|---|---|
Object |
getStart() |
Return the start token or tree
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStop, getTemplate, getTreepublic Object start
public Object getStart()
RuleReturnScopegetStart in class RuleReturnScopeCopyright © 1992–2019 ANTLR. All rights reserved.