antlr::ParserInputState Class Reference

#include <ParserSharedInputState.hpp>

Collaboration diagram for antlr::ParserInputState:
[legend]

List of all members.

Public Member Functions

 ParserInputState (TokenBuffer *in)
 ParserInputState (TokenBuffer &in)
virtual ~ParserInputState ()
TokenBuffergetInput (void)
void reset (void)
 Reset the ParserInputState and the underlying TokenBuffer.

Public Attributes

int guessing
std::string filename

Private Member Functions

 ParserInputState (const ParserInputState &)
ParserInputStateoperator= (const ParserInputState &)

Private Attributes

TokenBufferinput
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.


Constructor & Destructor Documentation

antlr::ParserInputState::ParserInputState ( TokenBuffer in  )  [inline]

Construct a new ParserInputState

Parameters:
in the TokenBuffer to read from. The object is deleted together with the ParserInputState object.
antlr::ParserInputState::ParserInputState ( TokenBuffer in  )  [inline]

Construct a new ParserInputState

Parameters:
in the TokenBuffer to read from.
virtual antlr::ParserInputState::~ParserInputState (  )  [inline, virtual]
antlr::ParserInputState::ParserInputState ( const ParserInputState  )  [private]

Member Function Documentation

TokenBuffer& antlr::ParserInputState::getInput ( void   )  [inline]
ParserInputState& antlr::ParserInputState::operator= ( const ParserInputState  )  [private]
void antlr::ParserInputState::reset ( void   )  [inline]

Reset the ParserInputState and the underlying TokenBuffer.


Member Data Documentation

What file (if known) caused the problem?

Todo:
wrap this one..

Are we guessing (guessing>0)?

Where to get token objects

Do we need to free the TokenBuffer or is it owned by another..


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on 16 Nov 2015 for ANTLR Support Libraries 2.7.1+ by  doxygen 1.6.1