antlr3.ANTLRFileStream Class Reference
CharStream that opens a file to read the data.
More...
List of all members.
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 antlr3.py.
Member Function Documentation
def antlr3.ANTLRFileStream.__init__ |
( |
|
self, |
|
|
|
fileName, |
|
|
|
encoding = None | |
|
) |
| | |
- Parameters:
-
| 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 antlr3.py.
def antlr3.ANTLRFileStream.getSourceName |
( |
|
self |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: