OpenMD 3.1
Molecular Dynamics in the Open
|
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. | |
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? | |
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.
|
inline |
Construct a new ParserInputState.
in | the TokenBuffer to read from. The object is deleted together with the ParserInputState object. |
Definition at line 31 of file ParserSharedInputState.hpp.
|
inline |
Construct a new ParserInputState.
in | the TokenBuffer to read from. |
Definition at line 41 of file ParserSharedInputState.hpp.
|
inlinevirtual |
Definition at line 49 of file ParserSharedInputState.hpp.
|
inline |
Definition at line 55 of file ParserSharedInputState.hpp.
|
inline |
Reset the ParserInputState and the underlying TokenBuffer.
Definition at line 61 of file ParserSharedInputState.hpp.
std::string antlr::ParserInputState::filename |
What file (if known) caused the problem?
Definition at line 73 of file ParserSharedInputState.hpp.
int antlr::ParserInputState::guessing |
Are we guessing (guessing>0)?
Definition at line 69 of file ParserSharedInputState.hpp.