antlr3.Parser Class Reference

Baseclass for generated parser classes. More...

Inheritance diagram for antlr3.Parser:

Inheritance graph
[legend]
Collaboration diagram for antlr3.Parser:

Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def reset
 reset the parser's state; subclasses must rewinds the input stream
def getCurrentInputSymbol
def getMissingSymbol
def setTokenStream
 Set the token stream and reset the parser.
def getTokenStream
def getSourceName
def traceIn
def traceOut

Public Attributes

 input


Detailed Description

Baseclass for generated parser classes.

Definition at line 3707 of file antlr3.py.


Member Function Documentation

def antlr3.Parser.__init__ (   self,
  lexer,
  state = None 
)

Definition at line 3709 of file antlr3.py.

def antlr3.Parser.reset (   self  ) 

reset the parser's state; subclasses must rewinds the input stream

Reimplemented from antlr3.BaseRecognizer.

Definition at line 3715 of file antlr3.py.

def antlr3.Parser.getCurrentInputSymbol (   self,
  input 
)

Definition at line 3721 of file antlr3.py.

def antlr3.Parser.getMissingSymbol (   self,
  input,
  e,
  expectedTokenType,
  follow 
)

Definition at line 3725 of file antlr3.py.

def antlr3.Parser.setTokenStream (   self,
  input 
)

Set the token stream and reset the parser.

Definition at line 3741 of file antlr3.py.

def antlr3.Parser.getTokenStream (   self  ) 

Definition at line 3748 of file antlr3.py.

def antlr3.Parser.getSourceName (   self  ) 

Definition at line 3752 of file antlr3.py.

def antlr3.Parser.traceIn (   self,
  ruleName,
  ruleIndex 
)

Definition at line 3756 of file antlr3.py.

def antlr3.Parser.traceOut (   self,
  ruleName,
  ruleIndex 
)

Definition at line 3760 of file antlr3.py.


Member Data Documentation

Reimplemented from antlr3.BaseRecognizer.

Definition at line 3743 of file antlr3.py.


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

Generated on Tue May 20 18:34:06 2008 for ANTLR Python API by  doxygen 1.5.5