10 #include "parserinfo.h" 19 class HighlightStateBuilder;
20 class LangElemsPrinter;
35 name(n), redef(false), subst(false) {
41 const std::string getName()
const {
60 bool isRedef()
const {
66 bool isSubst()
const {
const std::string name
the name for this language element
Definition: langelem.h:27
Builds an HighlightState from the language definition file collected structures.
Definition: highlightstatebuilder.h:22
Definition: langelem.h:23
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
const std::string toStringParserInfo() const
bool redef
whether this redefs an existing language element
Definition: langelem.h:29
Stores information about the file name and the line number of a generic element created during parsin...
Definition: parserinfo.h:23
virtual const std::string toString() const
return the string representation (with preprocessing)
Definition: langelem.h:49
Prints all the language elements.
Definition: langelemsprinter.h:26
virtual const std::string toStringOriginal() const =0
return the original representation (without any preprocessing); this is useful for printing errors ...