|
|
| LangElem (const std::string &n) |
| |
|
const std::string | getName () const |
| |
| virtual const std::string | toString () const |
| | return the string representation (with preprocessing)
|
| |
| virtual const std::string | toStringOriginal () const =0 |
| | return the original representation (without any preprocessing); this is useful for printing errors
|
| |
|
bool | isRedef () const |
| |
|
void | setRedef () |
| |
|
bool | isSubst () const |
| |
|
void | setSubst () |
| |
| const std::string | toStringParserInfo () const |
| |
|
virtual void | dispatch_build (HighlightStateBuilder *, HighlightState *state) |
| |
|
virtual void | dispatch_collect_const (LangElemsPrinter *) |
| |
|
void | setParserInfo (const std::string &name, unsigned int l) |
| |
|
void | setParserInfo (const ParserInfo *p) |
| |
|
|
std::string | filename |
| |
|
unsigned int | line |
| |
|
|
const std::string | name |
| | the name for this language element
|
| |
|
bool | redef |
| | whether this redefs an existing language element
|
| |
|
bool | subst |
| |
◆ toString()
| virtual const std::string srchilite::LangElem::toString |
( |
| ) |
const |
|
inlinevirtual |
◆ toStringOriginal()
| virtual const std::string srchilite::LangElem::toStringOriginal |
( |
| ) |
const |
|
pure virtual |
◆ toStringParserInfo()
| const std::string srchilite::LangElem::toStringParserInfo |
( |
| ) |
const |
- Returns
- a string representation of the ParserInfo struct
The documentation for this class was generated from the following files:
- source-highlight-3.1.9/lib/srchilite/langelem.h
- source-highlight-3.1.9/lib/srchilite/highlightstatebuilder_dbtab.cc
- source-highlight-3.1.9/lib/srchilite/langelem.cpp
- source-highlight-3.1.9/lib/srchilite/langelemsprinter_dbtab.cc