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.hpp:33
Represents a state during the highlighting (e.g., comment state, string state, etc....
Definition highlightstate.h:47
Prints all the language elements.
Definition langelemsprinter.hpp:35
An element with subparts (subexpressions), each with a possible different name.
Definition namedsubexpslangelem.h:39
const ElementNames * elementNames
the element names
Definition namedsubexpslangelem.h:41
const StringDef * getRegexpDef() const
Definition namedsubexpslangelem.h:74
const ElementNames * getElementNames() const
Definition namedsubexpslangelem.h:69
NamedSubExpsLangElem(const ElementNames *names, StringDef *def, bool exit=false, bool all=false)
Definition namedsubexpslangelem.cpp:25
StringDef * regexpDef
the whole regular expression defiition
Definition namedsubexpslangelem.h:44
virtual const std::string toStringOriginal() const
Definition namedsubexpslangelem.cpp:48
virtual const std::string toString() const
Definition namedsubexpslangelem.cpp:40
A language element that may start a new state/environment.
Definition statestartlangelem.h:25
unsigned int exit
the exit level
Definition statestartlangelem.h:28
represent a string for a language definition file's element
Definition stringdef.h:25
C++ class: doctemplate.h.
Definition bufferedoutput.cpp:13
std::list< std::string > ElementNames
collection of element names
Definition namedsubexpslangelem.h:25