Public Member Functions
rve_interface_gen.antlr3.tree.RewriteRuleTokenStream Class Reference
Inheritance diagram for rve_interface_gen.antlr3.tree.RewriteRuleTokenStream:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def dup
def nextNode
def nextToken
def toTree

Detailed Description

@brief Internal helper class.

Definition at line 2604 of file tree.py.


Member Function Documentation

When constructing trees, sometimes we need to dup a token or AST
subtree.  Dup'ing a token means just creating another AST node
around it.  For trees, you must call the adaptor.dupTree() unless
the element is for a tree root; then it must be a node dup.

Reimplemented from rve_interface_gen.antlr3.tree.RewriteRuleElementStream.

Definition at line 2622 of file tree.py.

Definition at line 2613 of file tree.py.

Definition at line 2618 of file tree.py.

Ensure stream emits trees; tokens must be converted to AST nodes.
AST nodes can be passed through unmolested.

Reimplemented from rve_interface_gen.antlr3.tree.RewriteRuleElementStream.

Definition at line 2607 of file tree.py.


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


rve_interface_gen
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:31:00