Lumiera  0.pre.03
»edit your freedom«
TextTemplate::Action Struct Reference

Description

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

Public Member Functions

template<class SRC >
auto instantiate (InstanceCore< SRC > &) const
 Interpret an action token from the compiled text template based on the given data binding and iteration state to yield a rendering. More...
 

Public Attributes

Code code {TEXT}
 
Idx refIDX {0}
 
string val {}
 

Member Function Documentation

◆ instantiate()

auto instantiate ( InstanceCore< SRC > &  core) const
inline

Interpret an action token from the compiled text template based on the given data binding and iteration state to yield a rendering.

Parameters
instanceIterthe wrapped InstanceCore with the actual data binding
Returns
a string-view pointing to the effective rendered chunk corresponding to this action

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

References TextTemplate::InstanceCore< SRC >::conditional(), TextTemplate::InstanceCore< SRC >::getContent(), TextTemplate::InstanceCore< SRC >::openIteration(), TextTemplate::InstanceCore< SRC >::reInstatiate(), lib::Result(), and stage::widget::TEXT.

+ Here is the call graph for this function:
+ Collaboration diagram for TextTemplate::Action:

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