

Public Member Functions | |
| ANTLRReaderStream (TextReader reader) | |
| Initializes a new instance of the ANTLRReaderStream class for the specified TextReader. | |
| ANTLRReaderStream (TextReader reader, int size) | |
| Initializes a new instance of the ANTLRReaderStream class for the specified TextReader and initial data buffer size. | |
| ANTLRReaderStream (TextReader reader, int size, int readChunkSize) | |
| Initializes a new instance of the ANTLRReaderStream class for the specified TextReader, initial data buffer size and, using a read buffer of the specified size. | |
| virtual void | Load (TextReader reader, int size, int readChunkSize) |
| Loads and buffers the contents of the specified reader to be used as this ANTLRReaderStream's source. | |
Static Public Attributes | |
| static readonly int | READ_BUFFER_SIZE = 1024 |
| Default size (in characters) of the buffer used for IO reads. | |
| static readonly int | INITIAL_BUFFER_SIZE = 1024 |
| Initial size (in characters) of the data cache. | |
Protected Member Functions | |
| ANTLRReaderStream () | |
| Initializes a new instance of the ANTLRReaderStream class. | |
Manages the buffer manually to avoid unnecessary data copying. If you need encoding, use ANTLRInputStream.
Definition at line 48 of file ANTLRReaderStream.cs.
| Antlr.Runtime.ANTLRReaderStream.ANTLRReaderStream | ( | ) | [protected] |
Initializes a new instance of the ANTLRReaderStream class.
Definition at line 61 of file ANTLRReaderStream.cs.
| Antlr.Runtime.ANTLRReaderStream.ANTLRReaderStream | ( | TextReader | reader | ) |
Initializes a new instance of the ANTLRReaderStream class for the specified TextReader.
Definition at line 69 of file ANTLRReaderStream.cs.
| Antlr.Runtime.ANTLRReaderStream.ANTLRReaderStream | ( | TextReader | reader, | |
| int | size | |||
| ) |
Initializes a new instance of the ANTLRReaderStream class for the specified TextReader and initial data buffer size.
Definition at line 79 of file ANTLRReaderStream.cs.
| Antlr.Runtime.ANTLRReaderStream.ANTLRReaderStream | ( | TextReader | reader, | |
| int | size, | |||
| int | readChunkSize | |||
| ) |
Initializes a new instance of the ANTLRReaderStream class for the specified TextReader, initial data buffer size and, using a read buffer of the specified size.
Definition at line 89 of file ANTLRReaderStream.cs.
| virtual void Antlr.Runtime.ANTLRReaderStream.Load | ( | TextReader | reader, | |
| int | size, | |||
| int | readChunkSize | |||
| ) | [virtual] |
Loads and buffers the contents of the specified reader to be used as this ANTLRReaderStream's source.
Definition at line 103 of file ANTLRReaderStream.cs.
readonly int Antlr.Runtime.ANTLRReaderStream.READ_BUFFER_SIZE = 1024 [static] |
Default size (in characters) of the buffer used for IO reads.
Definition at line 51 of file ANTLRReaderStream.cs.
readonly int Antlr.Runtime.ANTLRReaderStream.INITIAL_BUFFER_SIZE = 1024 [static] |
1.5.5