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, getTree
public Object start
public Object getStart()
RuleReturnScope
getStart
in class RuleReturnScope
Copyright © 1992–2015 ANTLR. All rights reserved.