类 RuleReturnScope
- java.lang.Object
-
- org.antlr.runtime.RuleReturnScope
-
- 直接已知子类:
ParserRuleReturnScope
,TreeRuleReturnScope
public class RuleReturnScope extends java.lang.Object
Rules can return start/stop info as well as possible trees and templates
-
-
构造器概要
构造器 构造器 说明 RuleReturnScope()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.Object
getStart()
Return the start token or treejava.lang.Object
getStop()
Return the stop token or treejava.lang.Object
getTemplate()
Has a value potentially if output=template; Don't use StringTemplate type as it then causes a dependency with ST lib.java.lang.Object
getTree()
Has a value potentially if output=AST;
-
-
-
方法详细资料
-
getStart
public java.lang.Object getStart()
Return the start token or tree
-
getStop
public java.lang.Object getStop()
Return the stop token or tree
-
getTree
public java.lang.Object getTree()
Has a value potentially if output=AST;
-
getTemplate
public java.lang.Object getTemplate()
Has a value potentially if output=template; Don't use StringTemplate type as it then causes a dependency with ST lib.
-
-