Top Description Fields Constructors Methods
org.antlr.runtime.tree

public Class TreeRuleReturnScope

extends RuleReturnScope
Class Inheritance
Imports
org.antlr.runtime.ParserRuleReturnScope, .RuleReturnScope, .Token

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

Modifier and TypeField and Description
public Object
start

First node or root node of tree matched for this rule.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
getStart()

Overrides org.antlr.runtime.RuleReturnScope.getStart.

Return the start token or tree
Inherited from org.antlr.runtime.RuleReturnScope:
getStopgetTemplategetTree

Field Detail

startback to summary
public Object start

First node or root node of tree matched for this rule.

Constructor Detail

TreeRuleReturnScopeback to summary
public TreeRuleReturnScope()

Method Detail

getStartback to summary
public Object getStart()

Overrides org.antlr.runtime.RuleReturnScope.getStart.

Doc from org.antlr.runtime.RuleReturnScope.getStart.

Return the start token or tree

Annotations
@Override