Source-highlight Library
|
Public Member Functions | |
HighlightStateBuilder (HighlightRuleFactory *_highlightRuleFactory) | |
void | build (LangElems *elems, HighlightStatePtr mainState) |
Builds all the rules into the passed mainState as specified in the passed LangElems. More... | |
virtual void | build (LangElem *elem, HighlightState *state) |
the following is a multi-method that needs to be processed by doublecpp | |
virtual void | build (StringListLangElem *elem, HighlightState *state) |
virtual void | build (DelimitedLangElem *elem, HighlightState *state) |
virtual void | build (NamedSubExpsLangElem *elem, HighlightState *state) |
virtual void | build (StateLangElem *elem, HighlightState *state) |
virtual void | build_DB (LangElem *elem, HighlightState *state) |
Private Attributes | |
HighlightRuleFactory * | highlightRuleFactory |
the factory for creating rules | |
void srchilite::HighlightStateBuilder::build | ( | LangElems * | elems, |
HighlightStatePtr | mainState | ||
) |
Builds all the rules into the passed mainState as specified in the passed LangElems.
elems | the element definitions retrieved from the lang file |
mainState | the main state where to store all the rules |