#include <LexerSharedInputState.hpp>
This object contains the data associated with an input stream of characters. Multiple lexers share a single LexerSharedInputState to lex the same input stream.
◆ LexerInputState() [1/4]
| LexerInputState::LexerInputState |
( |
InputBuffer * | inbuf | ) |
|
|
inline |
◆ LexerInputState() [2/4]
| LexerInputState::LexerInputState |
( |
InputBuffer & | inbuf | ) |
|
|
inline |
◆ LexerInputState() [3/4]
| LexerInputState::LexerInputState |
( |
std ::istream & | in | ) |
|
|
inline |
Construct a new LexerInputState
- Parameters
-
| in | an istream to read from. |
- See also
- antlr.CharBuffer
◆ ~LexerInputState()
| virtual LexerInputState::~LexerInputState |
( |
| ) |
|
|
inlinevirtual |
◆ LexerInputState() [4/4]
◆ getInput()
◆ initialize()
| virtual void LexerInputState::initialize |
( |
std ::istream & | in, |
|
|
const char * | file = "" ) |
|
inlinevirtual |
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
◆ operator=()
◆ reset()
| virtual void LexerInputState::reset |
( |
void | | ) |
|
|
inlinevirtual |
◆ setPosition()
| void 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 |
◆ column
| int LexerInputState::column |
◆ filename
| std::string LexerInputState::filename |
What file (if known) caused the problem?
◆ guessing
| int LexerInputState::guessing |
◆ input
◆ inputResponsible
| bool LexerInputState::inputResponsible |
|
private |
◆ line
| int LexerInputState::line |
◆ tokenStartColumn
| int LexerInputState::tokenStartColumn |
◆ tokenStartLine
| int LexerInputState::tokenStartLine |
The documentation for this class was generated from the following file: