srchilite::srchilite::StateLangElem Class Reference
a language element that introduces a new state pattern Composite
More...
Inheritance diagram for srchilite::srchilite::StateLangElem:
Collaboration diagram for srchilite::srchilite::StateLangElem:
Public Member Functions
void set_state ()
virtual const std::string
toString () const
return the string representation (with preprocessing)
More...
return the original representation (without any preprocessing); this is useful for printing errors
More...
bool isState () const
const std::string getName () const
bool isRedef () const
void setRedef ()
bool isSubst () const
void setSubst ()
void
setParserInfo (const std::string &
name, unsigned int l)
Public Attributes
std::string filename
unsigned int line
Private Attributes
bool state
Detailed Description
a language element that introduces a new state pattern Composite
- Author
- Lorenzo Bettini
Member Function Documentation
const std::string srchilite::StateLangElem::toString
(
)
const
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
The documentation for this class was generated from the following files:
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/langelemsprinter.cpp
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/highlightstatebuilder.cpp
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/statelangelem.cpp