|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.antlr.runtime.RuleReturnScope
public class RuleReturnScope
Rules can return start/stop info as well as possible trees and templates
Constructor Summary | |
---|---|
RuleReturnScope()
|
Method Summary | |
---|---|
Object |
getStart()
Return the start token or tree |
Object |
getStop()
Return the stop token or tree |
Object |
getTemplate()
Has a value potentially if output=template; Don't use StringTemplate type as it then causes a dependency with ST lib. |
Object |
getTree()
Has a value potentially if output=AST; |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuleReturnScope()
Method Detail |
---|
public Object getStart()
public Object getStop()
public Object getTree()
public Object getTemplate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |