Lumiera  0.pre.03
»edit your freedom«
TextTemplate::ActionCompiler Class Reference

#include "lib/text-template.hpp"

Description

Remarks
this builder component is used on top of a Iter-Explorer-pipeline, based on a reg-exp. The source layer (which is assumed to comply to the »State Core« concept), yields TagSyntax records, one for each match of the ACCEPT_MARKUP reg-exp. The actual compilation step, which is implemented as pull-processing here, will emit one or several Action tokens on each match, thereby embedding the extracted keys and possibly static fill strings. Since the performance allows for conditionals and iteration, some cross-linking is necessary, based on index numbers for the actions emitted and coordinated by a stack of bracketing constructs.

Definition at line 453 of file text-template.hpp.

Public Member Functions

template<class PAR >
ActionSeq buildActions (PAR &&parseIter)
 

Private Member Functions

template<class PAR >
void compile (PAR &parseIter, ActionSeq &actions)
 

Private Attributes

ScopeStack scope_ {}
 
+ Collaboration diagram for TextTemplate::ActionCompiler:

The documentation for this class was generated from the following file: