|
Source-highlight Library
|


Public Member Functions | |
| 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 *) |
| 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) |
| void | setParserInfo (const std::string &name, unsigned int l) |
| void | setParserInfo (const ParserInfo *p) |
Public Attributes | |
| std::string | filename |
| unsigned int | line |
Private Attributes | |
| const std::string | name |
| the name for this language element | |
| bool | redef |
| whether this redefs an existing language element | |
| bool | subst |
|
inlinevirtual |
return the string representation (with preprocessing)
Reimplemented in srchilite::DelimitedLangElem, srchilite::NamedSubExpsLangElem, srchilite::srchilite::DelimitedLangElem, srchilite::srchilite::NamedSubExpsLangElem, srchilite::srchilite::NamedSubExpsLangElem, srchilite::srchilite::StateLangElem, srchilite::srchilite::StateStartLangElem, srchilite::srchilite::StateStartLangElem, srchilite::srchilite::StringListLangElem, srchilite::StateLangElem, srchilite::StateStartLangElem, and srchilite::StringListLangElem.
|
inlinevirtual |
return the string representation (with preprocessing)
Reimplemented in srchilite::DelimitedLangElem, srchilite::NamedSubExpsLangElem, srchilite::srchilite::DelimitedLangElem, srchilite::srchilite::NamedSubExpsLangElem, srchilite::srchilite::NamedSubExpsLangElem, srchilite::srchilite::StateLangElem, srchilite::srchilite::StateStartLangElem, srchilite::srchilite::StateStartLangElem, srchilite::srchilite::StringListLangElem, srchilite::StateLangElem, srchilite::StateStartLangElem, and srchilite::StringListLangElem.
|
pure virtual |
return the original representation (without any preprocessing); this is useful for printing errors
Implemented in srchilite::DelimitedLangElem, srchilite::NamedSubExpsLangElem, srchilite::srchilite::DelimitedLangElem, srchilite::srchilite::NamedSubExpsLangElem, srchilite::srchilite::NamedSubExpsLangElem, srchilite::srchilite::StateLangElem, srchilite::srchilite::StringListLangElem, srchilite::StateLangElem, and srchilite::StringListLangElem.
|
pure virtual |
return the original representation (without any preprocessing); this is useful for printing errors
Implemented in srchilite::DelimitedLangElem, srchilite::NamedSubExpsLangElem, srchilite::srchilite::DelimitedLangElem, srchilite::srchilite::NamedSubExpsLangElem, srchilite::srchilite::NamedSubExpsLangElem, srchilite::srchilite::StateLangElem, srchilite::srchilite::StringListLangElem, srchilite::StateLangElem, and srchilite::StringListLangElem.
| const std::string srchilite::LangElem::toStringParserInfo | ( | ) | const |
| const std::string srchilite::srchilite::LangElem::toStringParserInfo | ( | ) | const |