antlr3.treewizard.TreePatternLexer Class Reference

List of all members.

Public Member Functions

def __init__
def nextToken
def consume

Public Attributes

 pattern
 The tree pattern to lex like "(A B C)".
 p
 Index into input string.
 c
 Current char.
 n
 How long is the pattern in char?
 sval
 Set when token type is ID or ARG.
 error

Static Private Attributes

tuple __idStartChar
tuple __idChar = __idStartChar|frozenset('0123456789')


Detailed Description

Definition at line 68 of file treewizard.py.


Member Function Documentation

def antlr3.treewizard.TreePatternLexer.__init__ (   self,
  pattern 
)

Definition at line 69 of file treewizard.py.

def antlr3.treewizard.TreePatternLexer.nextToken (   self  ) 

Definition at line 95 of file treewizard.py.

def antlr3.treewizard.TreePatternLexer.consume (   self  ) 

Definition at line 156 of file treewizard.py.


Member Data Documentation

Initial value:

frozenset(
        'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_'
        )

Definition at line 90 of file treewizard.py.

tuple antlr3.treewizard.TreePatternLexer.__idChar = __idStartChar|frozenset('0123456789') [static, private]

Definition at line 93 of file treewizard.py.

The tree pattern to lex like "(A B C)".

Definition at line 71 of file treewizard.py.

Index into input string.

Definition at line 74 of file treewizard.py.

Current char.

Definition at line 77 of file treewizard.py.

How long is the pattern in char?

Definition at line 80 of file treewizard.py.

Set when token type is ID or ARG.

Definition at line 83 of file treewizard.py.

Definition at line 85 of file treewizard.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