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 2544 of file tree.py.


Member Function Documentation

def antlr3.tree.TreeRuleReturnScope.__init__ (   self  ) 

Definition at line 2546 of file tree.py.

def antlr3.tree.TreeRuleReturnScope.getStart (   self  ) 

Return the start token or tree.

Reimplemented from antlr3.RuleReturnScope.

Definition at line 2551 of file tree.py.

def antlr3.tree.TreeRuleReturnScope.getTree (   self  ) 

Has a value potentially if output=AST.

Reimplemented from antlr3.RuleReturnScope.

Definition at line 2555 of file tree.py.


Member Data Documentation

Definition at line 2547 of file tree.py.

Definition at line 2548 of file tree.py.


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

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