antlr3.ANTLRInputStream Class Reference

CharStream that reads data from a file-like object. More...

Inheritance diagram for antlr3.ANTLRInputStream:

Inheritance graph
Collaboration diagram for antlr3.ANTLRInputStream:

Collaboration graph

List of all members.

Public Member Functions

def __init__

Detailed Description

CharStream that reads data from a file-like object.

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

All input is consumed from the file, but it is not closed.

Definition at line 1517 of file

Member Function Documentation

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

file A file-like object holding your input. Only the read() method must be implemented.
encoding If you set the optional encoding argument, then the data will be decoded on the fly.

Definition at line 1528 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