antlr3.tree.TreeRuleReturnScope Class Reference

This is identical to the ParserRuleReturnScope except that the start property is a tree nodes not Token object when you are parsing trees. More...

Inheritance diagram for antlr3.tree.TreeRuleReturnScope:

Inheritance graph
[legend]
Collaboration diagram for antlr3.tree.TreeRuleReturnScope:

Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def getStart
 Return the start token or tree.
def getTree
 Has a value potentially if output=AST.

Public Attributes

 start
 tree


Detailed Description

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.

Definition at line 2810 of file tree.py.


Member Function Documentation

def antlr3.tree.TreeRuleReturnScope.__init__ (   self  ) 

Definition at line 2812 of file tree.py.

def antlr3.tree.TreeRuleReturnScope.getStart (   self  ) 

Return the start token or tree.

Reimplemented from antlr3.RuleReturnScope.

Definition at line 2817 of file tree.py.

def antlr3.tree.TreeRuleReturnScope.getTree (   self  ) 

Has a value potentially if output=AST.

Reimplemented from antlr3.RuleReturnScope.

Definition at line 2821 of file tree.py.


Member Data Documentation

Definition at line 2813 of file tree.py.

Definition at line 2814 of file tree.py.


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

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