#include <LexerSharedInputState.hpp>
Public Methods | |
| LexerInputState (InputBuffer *inbuf) | |
| LexerInputState (InputBuffer &inbuf) | |
| LexerInputState (ANTLR_USE_NAMESPACE(std) istream &in) | |
| virtual void | initialize (ANTLR_USE_NAMESPACE(std) istream &in, const char *file="") |
| virtual void | reset (void) |
| void | setPosition (int line_, int column_) |
| virtual | ~LexerInputState () |
| ANTLR_USE_NAMESPACE (std) string filename | |
| InputBuffer & | getInput () |
Public Attributes | |
| int | column |
| int | line |
| int | tokenStartColumn |
| int | tokenStartLine |
| int | guessing |
|
|
Construct a new LexerInputState
|
|
|
Construct a new LexerInputState
|
|
|
Construct a new LexerInputState
|
|
|
|
|
|
What file (if known) caused the problem? |
|
|
|
|
||||||||||||
|
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. |
|
|
Reset the LexerInputState to initial state. The underlying InputBuffer is also reset. |
|
||||||||||||
|
Set the file position of the SharedLexerInputState.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.18