srchilite::StateLangElem Class Reference

a language element that introduces a new state pattern Composite More...

#include <statelangelem.h>

Inherits srchilite::LangElem.

Collaboration diagram for srchilite::StateLangElem:
[legend]

List of all members.

Public Member Functions

 StateLangElem (const std::string &n, StateStartLangElem *start, LangElems *elems, bool st=false)
void set_elems (LangElems *elems)
void set_state ()
virtual const std::string toString () const
virtual const std::string toStringOriginal () const
StateStartLangElemgetStateStart () const
bool isState () const
LangElemsgetElems () const
virtual void dispatch_build (HighlightStateBuilder *, HighlightState *state)
virtual void dispatch_collect_const (LangElemsPrinter *)
const std::string getName () const
bool isRedef () const
void setRedef ()
bool isSubst () const
void setSubst ()
const std::string toStringParserInfo () const
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)

Public Attributes

std::string filename
unsigned int line

Private Attributes

StateStartLangElemstatestartlangelem
LangElemslangelems
bool state


Detailed Description

a language element that introduces a new state pattern Composite

Author:
Lorenzo Bettini

Member Function Documentation

const std::string srchilite::LangElem::toStringParserInfo (  )  const [inherited]

Returns:
a string representation of the ParserInfo struct


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

Generated on Sun Jun 14 18:23:26 2009 for Source-highlight Library by  doxygen 1.5.9