Public Member Functions
|CharBuffer (ANTLR_USE_NAMESPACE(std) istream &input)|
|Create a character buffer. |
|Get the next character from the stream. |
Protected Member Functions
|ANTLR_USE_NAMESPACE (std) istream &input|
Private Member Functions
|CharBuffer (const CharBuffer &other)|
|CharBuffer &||operator= (const CharBuffer &other)|
A dynamic array is used to buffer up all the input characters. Normally, "k" characters are stored in the buffer. More characters may be stored during guess mode (testing syntactic predicate), or when LT(i>k) is referenced. Consumption of characters is deferred. In other words, reading the next character is not done by consume(), but deferred until needed by LA or LT.
|CharBuffer::CharBuffer||(||ANTLR_USE_NAMESPACE(std) istream &||input||)|
Create a character buffer.
|CharBuffer::CharBuffer||(||const CharBuffer &||other||)||
Get the next character from the stream.