org.antlr.runtime.RuleReturnScope Class Reference

Inheritance diagram for org.antlr.runtime.RuleReturnScope:

Inheritance graph
[legend]

List of all members.

Public Member Functions

Object getStart ()
Object getStop ()
Object getTree ()
Object getTemplate ()


Detailed Description

Rules can return start/stop info as well as possible trees and templates

Definition at line 31 of file RuleReturnScope.java.


Member Function Documentation

Object org.antlr.runtime.RuleReturnScope.getStart (  ) 

Return the start token or tree

Reimplemented in org.antlr.runtime.ParserRuleReturnScope, and org.antlr.runtime.tree.TreeRuleReturnScope.

Definition at line 33 of file RuleReturnScope.java.

Object org.antlr.runtime.RuleReturnScope.getStop (  ) 

Return the stop token or tree

Reimplemented in org.antlr.runtime.ParserRuleReturnScope.

Definition at line 35 of file RuleReturnScope.java.

Object org.antlr.runtime.RuleReturnScope.getTree (  ) 

Has a value potentially if output=AST;

Definition at line 37 of file RuleReturnScope.java.

Object org.antlr.runtime.RuleReturnScope.getTemplate (  ) 

Has a value potentially if output=template; Don't use StringTemplate type as it then causes a dependency with ST lib.

Definition at line 41 of file RuleReturnScope.java.


The documentation for this class was generated from the following file:

Generated on Wed Oct 1 14:13:42 2008 for ANTLR API by  doxygen 1.5.5