|
ANTLR Support Libraries 2.7.1+
|
#include <ParserSharedInputState.hpp>

Public Member Functions | |
| ParserInputState (TokenBuffer *in) | |
| ParserInputState (TokenBuffer &in) | |
| virtual | ~ParserInputState () |
| TokenBuffer & | getInput (void) |
| void | reset (void) |
| Reset the ParserInputState and the underlying TokenBuffer. More... | |
Public Attributes | |
| int | guessing |
| std::string | filename |
Private Member Functions | |
| ParserInputState (const ParserInputState &) | |
| ParserInputState & | operator= (const ParserInputState &) |
Private Attributes | |
| TokenBuffer * | input |
| bool | inputResponsible |
| Do we need to free the TokenBuffer or is it owned by another.. More... | |
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.
|
inline |
Construct a new ParserInputState
| in | the TokenBuffer to read from. The object is deleted together with the ParserInputState object. |
|
inline |
Construct a new ParserInputState
| in | the TokenBuffer to read from. |
|
inlinevirtual |
|
private |
|
inline |
|
private |
|
inline |
Reset the ParserInputState and the underlying TokenBuffer.
| std ::string ParserInputState::filename |
What file (if known) caused the problem?
| int ParserInputState::guessing |
Are we guessing (guessing>0)?
|
private |
Where to get token objects
|
private |
Do we need to free the TokenBuffer or is it owned by another..
1.8.5