An element with subparts (subexpressions), each with a possible different name. More...
Inherits srchilite::srchilite::StateStartLangElem, and srchilite::srchilite::StateStartLangElem.
Public Member Functions | |
NamedSubExpsLangElem (const ElementNames *names, StringDef *def, bool exit=false, bool all=false) | |
virtual const std::string | toString () const |
virtual const std::string | toStringOriginal () const |
const ElementNames * | getElementNames () const |
const StringDef * | getRegexpDef () const |
virtual void | dispatch_build (HighlightStateBuilder *, HighlightState *state) |
virtual void | dispatch_collect_const (LangElemsPrinter *) |
NamedSubExpsLangElem (const ElementNames *names, StringDef *def, bool exit=false, bool all=false) | |
virtual const std::string | toString () const |
virtual const std::string | toStringOriginal () const |
const ElementNames * | getElementNames () const |
const StringDef * | getRegexpDef () const |
virtual void | dispatch_build (HighlightStateBuilder *, HighlightState *state) |
virtual void | dispatch_collect_const (LangElemsPrinter *) |
void | setExit (unsigned int level=1) |
Sets the "exit" property of this element (i.e., if the element is match then exit one state). | |
void | setExit (unsigned int level=1) |
Sets the "exit" property of this element (i.e., if the element is match then exit one state). | |
void | setExit (unsigned int level=1) |
Sets the "exit" property of this element (i.e., if the element is match then exit one state). | |
void | setExit (unsigned int level=1) |
Sets the "exit" property of this element (i.e., if the element is match then exit one state). | |
void | setExit (unsigned int level=1) |
Sets the "exit" property of this element (i.e., if the element is match then exit one state). | |
void | setExit (unsigned int level=1) |
Sets the "exit" property of this element (i.e., if the element is match then exit one state). | |
void | setExitAll () |
Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state). | |
void | setExitAll () |
Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state). | |
void | setExitAll () |
Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state). | |
void | setExitAll () |
Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state). | |
void | setExitAll () |
Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state). | |
void | setExitAll () |
Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state). | |
bool | exitAll () const |
bool | exitAll () const |
bool | exitAll () const |
bool | exitAll () const |
bool | exitAll () const |
bool | exitAll () const |
unsigned int | getExit () const |
unsigned int | getExit () const |
unsigned int | getExit () const |
unsigned int | getExit () const |
unsigned int | getExit () const |
unsigned int | getExit () const |
StateLangElem * | getStateLangElem () const |
StateLangElem * | getStateLangElem () const |
StateLangElem * | getStateLangElem () const |
StateLangElem * | getStateLangElem () const |
StateLangElem * | getStateLangElem () const |
StateLangElem * | getStateLangElem () const |
void | setStateLangElem (StateLangElem *s) |
Sets the state for which this element represents the start. | |
void | setStateLangElem (StateLangElem *s) |
Sets the state for which this element represents the start. | |
void | setStateLangElem (StateLangElem *s) |
Sets the state for which this element represents the start. | |
void | setStateLangElem (StateLangElem *s) |
Sets the state for which this element represents the start. | |
void | setStateLangElem (StateLangElem *s) |
Sets the state for which this element represents the start. | |
void | setStateLangElem (StateLangElem *s) |
Sets the state for which this element represents the start. | |
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 |
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 | |
const ElementNames * | elementNames |
the element names | |
StringDef * | regexpDef |
the whole regular expression defiition |
An element with subparts (subexpressions), each with a possible different name.
srchilite::NamedSubExpsLangElem::NamedSubExpsLangElem | ( | const ElementNames * | names, | |
StringDef * | def, | |||
bool | exit = false , |
|||
bool | all = false | |||
) |
names | the element names (one for each subexpression) | |
def | the whole definition | |
exit | whether to exit one state | |
all | whether to exit all states |
srchilite::srchilite::NamedSubExpsLangElem::NamedSubExpsLangElem | ( | const ElementNames * | names, | |
StringDef * | def, | |||
bool | exit = false , |
|||
bool | all = false | |||
) |
names | the element names (one for each subexpression) | |
def | the whole definition | |
exit | whether to exit one state | |
all | whether to exit all states |
bool srchilite::srchilite::StateStartLangElem::exitAll | ( | ) | const [inline, inherited] |
bool srchilite::srchilite::StateStartLangElem::exitAll | ( | ) | const [inline, inherited] |
bool srchilite::srchilite::StateStartLangElem::exitAll | ( | ) | const [inline, inherited] |
bool srchilite::srchilite::StateStartLangElem::exitAll | ( | ) | const [inline, inherited] |
bool srchilite::srchilite::StateStartLangElem::exitAll | ( | ) | const [inline, inherited] |
bool srchilite::srchilite::StateStartLangElem::exitAll | ( | ) | const [inline, inherited] |
const ElementNames* srchilite::srchilite::NamedSubExpsLangElem::getElementNames | ( | ) | const [inline] |
const ElementNames* srchilite::srchilite::NamedSubExpsLangElem::getElementNames | ( | ) | const [inline] |
unsigned int srchilite::srchilite::StateStartLangElem::getExit | ( | ) | const [inline, inherited] |
unsigned int srchilite::srchilite::StateStartLangElem::getExit | ( | ) | const [inline, inherited] |
unsigned int srchilite::srchilite::StateStartLangElem::getExit | ( | ) | const [inline, inherited] |
unsigned int srchilite::srchilite::StateStartLangElem::getExit | ( | ) | const [inline, inherited] |
unsigned int srchilite::srchilite::StateStartLangElem::getExit | ( | ) | const [inline, inherited] |
unsigned int srchilite::srchilite::StateStartLangElem::getExit | ( | ) | const [inline, inherited] |
const StringDef* srchilite::srchilite::NamedSubExpsLangElem::getRegexpDef | ( | ) | const [inline] |
const StringDef* srchilite::srchilite::NamedSubExpsLangElem::getRegexpDef | ( | ) | const [inline] |
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem | ( | ) | const [inline, inherited] |
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem | ( | ) | const [inline, inherited] |
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem | ( | ) | const [inline, inherited] |
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem | ( | ) | const [inline, inherited] |
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem | ( | ) | const [inline, inherited] |
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem | ( | ) | const [inline, inherited] |
void srchilite::srchilite::StateStartLangElem::setExit | ( | unsigned int | level = 1 |
) | [inline, inherited] |
Sets the "exit" property of this element (i.e., if the element is match then exit one state).
level | the exit level (default to 1) |
void srchilite::srchilite::StateStartLangElem::setExit | ( | unsigned int | level = 1 |
) | [inline, inherited] |
Sets the "exit" property of this element (i.e., if the element is match then exit one state).
level | the exit level (default to 1) |
void srchilite::srchilite::StateStartLangElem::setExit | ( | unsigned int | level = 1 |
) | [inline, inherited] |
Sets the "exit" property of this element (i.e., if the element is match then exit one state).
level | the exit level (default to 1) |
void srchilite::srchilite::StateStartLangElem::setExit | ( | unsigned int | level = 1 |
) | [inline, inherited] |
Sets the "exit" property of this element (i.e., if the element is match then exit one state).
level | the exit level (default to 1) |
void srchilite::srchilite::StateStartLangElem::setExit | ( | unsigned int | level = 1 |
) | [inline, inherited] |
Sets the "exit" property of this element (i.e., if the element is match then exit one state).
level | the exit level (default to 1) |
void srchilite::srchilite::StateStartLangElem::setExit | ( | unsigned int | level = 1 |
) | [inline, inherited] |
Sets the "exit" property of this element (i.e., if the element is match then exit one state).
level | the exit level (default to 1) |
void srchilite::srchilite::StateStartLangElem::setStateLangElem | ( | StateLangElem * | s | ) | [inline, inherited] |
Sets the state for which this element represents the start.
s | the state for which this element represents the start |
void srchilite::srchilite::StateStartLangElem::setStateLangElem | ( | StateLangElem * | s | ) | [inline, inherited] |
Sets the state for which this element represents the start.
s | the state for which this element represents the start |
void srchilite::srchilite::StateStartLangElem::setStateLangElem | ( | StateLangElem * | s | ) | [inline, inherited] |
Sets the state for which this element represents the start.
s | the state for which this element represents the start |
void srchilite::srchilite::StateStartLangElem::setStateLangElem | ( | StateLangElem * | s | ) | [inline, inherited] |
Sets the state for which this element represents the start.
s | the state for which this element represents the start |
void srchilite::srchilite::StateStartLangElem::setStateLangElem | ( | StateLangElem * | s | ) | [inline, inherited] |
Sets the state for which this element represents the start.
s | the state for which this element represents the start |
void srchilite::srchilite::StateStartLangElem::setStateLangElem | ( | StateLangElem * | s | ) | [inline, inherited] |
Sets the state for which this element represents the start.
s | the state for which this element represents the start |
virtual const std::string srchilite::srchilite::NamedSubExpsLangElem::toString | ( | ) | const [virtual] |
Reimplemented from srchilite::srchilite::StateStartLangElem.
const std::string srchilite::NamedSubExpsLangElem::toString | ( | ) | const [virtual] |
Reimplemented from srchilite::srchilite::StateStartLangElem.
virtual const std::string srchilite::srchilite::NamedSubExpsLangElem::toStringOriginal | ( | ) | const [virtual] |
Implements srchilite::srchilite::LangElem.
const std::string srchilite::NamedSubExpsLangElem::toStringOriginal | ( | ) | const [virtual] |
Implements srchilite::srchilite::LangElem.
const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |
const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |
const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |
const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |
const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |
const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |
const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |
const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |
const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |
const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |
const std::string srchilite::LangElem::toStringParserInfo | ( | ) | const [inherited] |