cfront::ParserLexerSharedState Class Reference

#include <ParserLexerSharedState.hpp>

Collaboration diagram for cfront::ParserLexerSharedState:

Collaboration graph
[legend]

Public Member Functions

 ParserLexerSharedState ()
LocationgetLocation ()
bool isTopLevel () const
void setTopLevel (bool b)

Private Attributes

Location location_
bool isTopLevel_

Detailed Description

This class represents the state shared with CParser and CLexer.

Shared state is as follows:

See also:
CParser

CLexer

Definition at line 58 of file ParserLexerSharedState.hpp.


Constructor & Destructor Documentation

cfront::ParserLexerSharedState::ParserLexerSharedState (  )  [inline]

Definition at line 60 of file ParserLexerSharedState.hpp.


Member Function Documentation

Location& cfront::ParserLexerSharedState::getLocation (  )  [inline]

Definition at line 62 of file ParserLexerSharedState.hpp.

References location_.

bool cfront::ParserLexerSharedState::isTopLevel (  )  const [inline]

Definition at line 67 of file ParserLexerSharedState.hpp.

References isTopLevel_.

void cfront::ParserLexerSharedState::setTopLevel ( bool  b  )  [inline]

Definition at line 72 of file ParserLexerSharedState.hpp.

References isTopLevel_.


Field Documentation

Definition at line 78 of file ParserLexerSharedState.hpp.

Referenced by getLocation().

Definition at line 79 of file ParserLexerSharedState.hpp.

Referenced by isTopLevel(), and setTopLevel().


The documentation for this class was generated from the following file:

Generated on Tue Mar 31 20:19:53 2009 for ctrump by  doxygen 1.5.6