antlr::LexerInputState Class Reference
#include <LexerSharedInputState.hpp>
List of all members.
Detailed Description
This object contains the data associated with an input stream of characters. Multiple lexers share a single LexerSharedInputState to lex the same input stream.
Constructor & Destructor Documentation
antlr::LexerInputState::LexerInputState |
( |
InputBuffer * |
inbuf |
) |
[inline] |
antlr::LexerInputState::LexerInputState |
( |
InputBuffer & |
inbuf |
) |
[inline] |
antlr::LexerInputState::LexerInputState |
( |
std::istream & |
in |
) |
[inline] |
Construct a new LexerInputState
- Parameters:
-
| in | an istream to read from. |
- See also:
- antlr.CharBuffer
virtual antlr::LexerInputState::~LexerInputState |
( |
|
) |
[inline, virtual] |
antlr::LexerInputState::LexerInputState |
( |
const LexerInputState & |
|
) |
[private] |
Member Function Documentation
InputBuffer & antlr::LexerInputState::getInput |
( |
|
) |
[inline] |
virtual void antlr::LexerInputState::initialize |
( |
std::istream & |
in, |
|
|
const char * |
file = "" | |
|
) |
| | [inline, virtual] |
Reset the LexerInputState with a specified stream and filename. This method is a hack, dunno what I was thinking when I added it. This should actually be done in a subclass.
- Deprecated:
virtual void antlr::LexerInputState::reset |
( |
void |
|
) |
[inline, virtual] |
void antlr::LexerInputState::setPosition |
( |
int |
line_, |
|
|
int |
column_ | |
|
) |
| | [inline] |
Set the file position of the SharedLexerInputState.
- Parameters:
-
| line_ | line number to be set |
| column_ | column number to be set |
Member Data Documentation
What file (if known) caused the problem?
The documentation for this class was generated from the following file: