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 {
80 virtual void dispatch_build(HighlightStateBuilder *, HighlightState * state);
81 virtual void dispatch_collect_const(LangElemsPrinter *);
const std::string toStringParserInfo() const
const std::string name
the name for this language element
Definition: langelem.h:27
Definition: langelem.h:23
virtual const std::string toString() const
return the string representation (with preprocessing)
Definition: langelem.h:49
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
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 toStringOriginal() const =0
return the original representation (without any preprocessing); this is useful for printing errors ...