12 #ifndef STATESTARTLANGELEM_H
13 #define STATESTARTLANGELEM_H
47 virtual const std::string
toString()
const;
void setExit(unsigned int level=1)
Sets the "exit" property of this element (i.e., if the element is match then exit one state) ...
Definition: statestartlangelem.h:54
Definition: langelem.h:23
unsigned int exit
the exit level
Definition: statestartlangelem.h:28
StateLangElem * getStateLangElem() const
Definition: statestartlangelem.h:83
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
A language element that may start a new state/environment.
Definition: statestartlangelem.h:25
void setStateLangElem(StateLangElem *s)
Sets the state for which this element represents the start.
Definition: statestartlangelem.h:91
void setExitAll()
Sets the "exit all" property of this element (i.e., if the element is match then exit all states and ...
Definition: statestartlangelem.h:62
bool exitAll() const
Definition: statestartlangelem.h:69
a language element that introduces a new state pattern Composite
Definition: statelangelem.h:37
StateStartLangElem(const std::string &n, unsigned int exit=0, bool all=false)
virtual const std::string toString() const
return the string representation (with preprocessing)
unsigned int getExit() const
Definition: statestartlangelem.h:76
StateLangElem * statelangelem
the possible State of which we represent the start.
Definition: statestartlangelem.h:34
bool exit_all
whether to exit all states
Definition: statestartlangelem.h:31