7 #ifndef HIGHLIGHTSTATEBUILDER_H_
8 #define HIGHLIGHTSTATEBUILDER_H_
10 #include "highlightstate.h"
15 class HighlightRuleFactory;
Definition: delimitedlangelem.h:32
Abstract factory for highlighting rules.
Definition: highlightrulefactory.h:23
Builds an HighlightState from the language definition file collected structures.
Definition: highlightstatebuilder.h:22
branches build void(LangElem *elem, HighlightState *state)
the following is a multi-method that needs to be processed by doublecpp
void build(LangElems *elems, HighlightStatePtr mainState)
Builds all the rules into the passed mainState as specified in the passed LangElems.
Definition: highlightstatebuilder.cpp:70
HighlightRuleFactory * highlightRuleFactory
the factory for creating rules
Definition: highlightstatebuilder.h:24
Represents a state during the highlighting (e.g., comment state, string state, etc....
Definition: highlightstate.h:47
Definition: langelem.h:24
collection of LangElem objects
Definition: langelems.h:34
An element with subparts (subexpressions), each with a possible different name.
Definition: namedsubexpslangelem.h:39
a language element that introduces a new state pattern Composite
Definition: statelangelem.h:38
A language element consisting of a list of strings.
Definition: stringlistlangelem.h:31
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
boost::shared_ptr< HighlightState > HighlightStatePtr
the reference to an HighlightState
Definition: highlightstate.h:38