KDevelop API Documentation

ParserInputState Class Reference

This object contains the data associated with an input stream of tokens. More...

#include <ParserSharedInputState.hpp>

List of all members.

Public Member Functions

 ParserInputState (TokenBuffer *in)
 Construct a new ParserInputState.

 ParserInputState (TokenBuffer &in)
 Construct a new ParserInputState.

 ~ParserInputState ()
TokenBuffergetInput (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 &)
ParserInputStateoperator= (const ParserInputState &)

Private Attributes

TokenBufferinput
 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

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.

Definition at line 31 of file ParserSharedInputState.hpp.

ParserInputState::ParserInputState TokenBuffer in  )  [inline]
 

Construct a new ParserInputState.

Parameters:
in the TokenBuffer to read from.

Definition at line 41 of file ParserSharedInputState.hpp.

ParserInputState::~ParserInputState  )  [inline]
 

Definition at line 49 of file ParserSharedInputState.hpp.

ParserInputState::ParserInputState const ParserInputState  )  [private]
 


Member Function Documentation

TokenBuffer& ParserInputState::getInput void   )  [inline]
 

Definition at line 55 of file ParserSharedInputState.hpp.

ParserInputState& ParserInputState::operator= const ParserInputState  )  [private]
 

void ParserInputState::reset void   )  [inline]
 

Reset the ParserInputState and the underlying TokenBuffer.

Definition at line 61 of file ParserSharedInputState.hpp.


Member Data Documentation

std ::string ParserInputState::filename
 

What file (if known) caused the problem?

Todo:
wrap this one..

Definition at line 73 of file ParserSharedInputState.hpp.

int ParserInputState::guessing
 

Are we guessing (guessing>0)?

Definition at line 69 of file ParserSharedInputState.hpp.

TokenBuffer* ParserInputState::input [private]
 

Where to get token objects.

Definition at line 76 of file ParserSharedInputState.hpp.

bool ParserInputState::inputResponsible [private]
 

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:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:27 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003