antlr3.RuleReturnScope Class Reference

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

Inheritance diagram for antlr3.RuleReturnScope:

Inheritance graph
[legend]

List of all members.

Public Member Functions

def getStart
 Return the start token or tree.
def getStop
 Return the stop token or tree.
def getTree
 Has a value potentially if output=AST.
def getTemplate
 Has a value potentially if output=template.


Detailed Description

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

Definition at line 3882 of file antlr3.py.


Member Function Documentation

def antlr3.RuleReturnScope.getStart (   self  ) 

Return the start token or tree.

Reimplemented in antlr3.tree.TreeRuleReturnScope, and antlr3.ParserRuleReturnScope.

Definition at line 3886 of file antlr3.py.

def antlr3.RuleReturnScope.getStop (   self  ) 

Return the stop token or tree.

Reimplemented in antlr3.ParserRuleReturnScope.

Definition at line 3892 of file antlr3.py.

def antlr3.RuleReturnScope.getTree (   self  ) 

Has a value potentially if output=AST.

Reimplemented in antlr3.tree.TreeRuleReturnScope.

Definition at line 3898 of file antlr3.py.

def antlr3.RuleReturnScope.getTemplate (   self  ) 

Has a value potentially if output=template.

Definition at line 3904 of file antlr3.py.


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

Generated on Mon Nov 29 17:24:28 2010 for ANTLR Python API by  doxygen 1.5.5