antlr3.ANTLRFileStream Class Reference

CharStream that opens a file to read the data. More...

Inheritance diagram for antlr3.ANTLRFileStream:

Inheritance graph
Collaboration diagram for antlr3.ANTLRFileStream:

Collaboration graph

List of all members.

Public Member Functions

def __init__
def getSourceName
 Deprecated, access o.fileName directly.

Public Attributes


Detailed Description

CharStream that opens a file to read the data.

This is a char buffer stream that is loaded from a file all at once when you construct the object.

Definition at line 1477 of file

Member Function Documentation

def antlr3.ANTLRFileStream.__init__ (   self,
  encoding = None 

fileName The path to the file to be opened. The file will be opened with mode 'rb'.
encoding If you set the optional encoding argument, then the data will be decoded on the fly.

Definition at line 1488 of file

def antlr3.ANTLRFileStream.getSourceName (   self  ) 

Deprecated, access o.fileName directly.

Reimplemented from antlr3.ANTLRStringStream.

Definition at line 1503 of file

Member Data Documentation

Definition at line 1490 of file

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

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