Source-highlight Library
srchilite::StateLangElem Class Reference

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

#include <statelangelem.h>

Inheritance diagram for srchilite::StateLangElem:
Collaboration diagram for srchilite::StateLangElem:

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
 return the string representation (with preprocessing)
virtual const std::string toStringOriginal () const
 return the original representation (without any preprocessing); this is useful for printing errors
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
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
virtual void dispatch_build (HighlightStateBuilder *, HighlightState *state)
virtual void dispatch_collect_const (LangElemsPrinter *)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
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

virtual const std::string srchilite::StateLangElem::toString ( ) const [virtual]

return the string representation (with preprocessing)

Returns:
the string representation

Reimplemented from srchilite::srchilite::LangElem.

virtual const std::string srchilite::StateLangElem::toStringOriginal ( ) const [virtual]

return the original representation (without any preprocessing); this is useful for printing errors

Returns:
the original representation

Implements srchilite::srchilite::LangElem.

const std::string srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo ( ) const [inherited]
Returns:
a string representation of the ParserInfo struct

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