|
Source-highlight Library
|
Builds an HighlightState from the language definition file collected structures. More...
#include <highlightstatebuilder.h>

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. | |
| branches build | void (LangElem *elem, HighlightState *state) |
| the following is a multi-method that needs to be processed by doublecpp | |
| void (StringListLangElem *elem, HighlightState *state) | |
| void (DelimitedLangElem *elem, HighlightState *state) | |
| void (NamedSubExpsLangElem *elem, HighlightState *state) | |
| void (StateLangElem *elem, HighlightState *state) | |
| HighlightStateBuilder (HighlightRuleFactory *_highlightRuleFactory) | |
| void | build (LangElems *elems, HighlightStatePtr mainState) |
| Builds all the rules into the passed mainState as specified in the passed LangElems. | |
| 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 | |
Builds an HighlightState from the language definition file collected structures.
This class uses dynamic overloading and it must be processed by doublecpp, http://doublecpp.sf.net, in case you need to modify it.
| 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 |
| 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 |