Source-highlight Library
Public Member Functions | Private Attributes | List of all members
srchilite::HighlightStateBuilder Class Reference

Builds an HighlightState from the language definition file collected structures. More...

#include <highlightstatebuilder.h>

Collaboration diagram for srchilite::HighlightStateBuilder:
Collaboration graph
[legend]

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...
 
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. 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

  the factory for creating rules
 

Detailed Description

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.

Member Function Documentation

void srchilite::HighlightStateBuilder::build ( LangElemselems,
HighlightStatePtr  mainState 
)

Builds all the rules into the passed mainState as specified in the passed LangElems.

Parameters
elems the element definitions retrieved from the lang file
mainState the main state where to store all the rules
void srchilite::HighlightStateBuilder::build ( LangElemselems,
HighlightStatePtr  mainState 
)

Builds all the rules into the passed mainState as specified in the passed LangElems.

Parameters
elems the element definitions retrieved from the lang file
mainState the main state where to store all the rules

The documentation for this class was generated from the following files:
  • /home/bettini/work/source-highlight/src-highlite/lib/srchilite/highlightstatebuilder.h
  • /home/bettini/work/source-highlight/src-highlite/lib/srchilite/highlightstatebuilder.hpp
  • /home/bettini/work/source-highlight/src-highlite/lib/srchilite/highlightstatebuilder_dbtab.cc

AltStyle によって変換されたページ (->オリジナル) /