ParserInputState Class Reference
This object contains the data associated with an input stream of tokens. More...
#include <ParserSharedInputState.hpp>
Public Member Functions | |
ParserInputState (TokenBuffer *in) | |
Construct a new ParserInputState. | |
ParserInputState (TokenBuffer &in) | |
Construct a new ParserInputState. | |
~ParserInputState () | |
TokenBuffer & | getInput (void) |
void | reset (void) |
Reset the ParserInputState and the underlying TokenBuffer. | |
Public Attributes | |
int | guessing |
Are we guessing (guessing>0)? | |
std::string | filename |
What file (if known) caused the problem? | |
Private Member Functions | |
ParserInputState (const ParserInputState &) | |
ParserInputState & | operator= (const ParserInputState &) |
Private Attributes | |
TokenBuffer * | input |
Where to get token objects. | |
bool | inputResponsible |
Do we need to free the TokenBuffer or is it owned by another.. |
Detailed Description
This object contains the data associated with an input stream of tokens.Multiple parsers share a single ParserSharedInputState to parse the same stream of tokens.
Definition at line 25 of file ParserSharedInputState.hpp.
Constructor & Destructor Documentation
|
Construct a new ParserInputState.
Definition at line 31 of file ParserSharedInputState.hpp. |
|
Construct a new ParserInputState.
Definition at line 41 of file ParserSharedInputState.hpp. |
|
Definition at line 49 of file ParserSharedInputState.hpp. |
|
|
Member Function Documentation
|
Definition at line 55 of file ParserSharedInputState.hpp. |
|
|
|
Reset the ParserInputState and the underlying TokenBuffer.
Definition at line 61 of file ParserSharedInputState.hpp. |
Member Data Documentation
|
What file (if known) caused the problem?
Definition at line 73 of file ParserSharedInputState.hpp. |
|
Are we guessing (guessing>0)?
Definition at line 69 of file ParserSharedInputState.hpp. |
|
Where to get token objects.
Definition at line 76 of file ParserSharedInputState.hpp. |
|
Do we need to free the TokenBuffer or is it owned by another..
Definition at line 78 of file ParserSharedInputState.hpp. |
The documentation for this class was generated from the following file:
- lib/antlr/antlr/ParserSharedInputState.hpp