13 #ifndef NAMEDSUBEXPSLANGELEM_H_
14 #define NAMEDSUBEXPSLANGELEM_H_
16 #include "statestartlangelem.h"
58 virtual const std::string
toString()
const;
Builds an HighlightState from the language definition file collected structures.
Definition: highlightstatebuilder.h:22
NamedSubExpsLangElem(const ElementNames *names, StringDef *def, bool exit=false, bool all=false)
const StringDef * getRegexpDef() const
Definition: namedsubexpslangelem.h:74
std::list< std::string > ElementNames
collection of element names
Definition: namedsubexpslangelem.h:22
StringDef * regexpDef
the whole regular expression defiition
Definition: namedsubexpslangelem.h:44
const ElementNames * getElementNames() const
Definition: namedsubexpslangelem.h:69
unsigned int exit
the exit level
Definition: highlightstatebuilder.cpp:28
represent a string for a language definition file's element
Definition: stringdef.h:25
Represents a state during the highlighting (e.g., comment state, string state, etc.)
Definition: highlightstate.h:47
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
A language element that may start a new state/environment.
Definition: statestartlangelem.h:25
virtual const std::string toString() const
const ElementNames * elementNames
the element names
Definition: namedsubexpslangelem.h:41
virtual const std::string toStringOriginal() const
Prints all the language elements.
Definition: langelemsprinter.h:26
An element with subparts (subexpressions), each with a possible different name.
Definition: namedsubexpslangelem.h:38