Package antlr3.treewizard


Classes

class  TreePatternLexer
class  TreePatternParser
class  TreePattern
 When using label:TOKENNAME in a tree for parse(), we must track the label. More...
class  WildcardTreePattern
class  TreePatternTreeAdaptor
 This adaptor creates TreePattern objects for use during scan(). More...
class  TreeWizard
 Build and navigate trees with this object. More...

Functions

def computeTokenTypes
 Compute a dict that is an inverted index of tokenNames (which maps int token types to names).

Variables

int EOF = 1
 token types for pattern parser
int BEGIN = 1
int END = 2
int ID = 3
int ARG = 4
int PERCENT = 5
int COLON = 6
int DOT = 7


Function Documentation

def antlr3.treewizard.computeTokenTypes (   tokenNames  ) 

Compute a dict that is an inverted index of tokenNames (which maps int token types to names).

Definition at line 50 of file treewizard.py.


Variable Documentation

Definition at line 63 of file treewizard.py.

Definition at line 60 of file treewizard.py.

Definition at line 65 of file treewizard.py.

Definition at line 66 of file treewizard.py.

Definition at line 61 of file treewizard.py.

token types for pattern parser

Definition at line 59 of file treewizard.py.

Definition at line 62 of file treewizard.py.

Definition at line 64 of file treewizard.py.


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