|
|
static void | append_child (statement_vector &children, std::unique_ptr< skeleton_node > new_child) |
| |
|
static datum | evaluate_formula_without_output (formula_evaluation_context &context, formula_node const &expression, parse_location const &location) |
| |
|
static datum | evaluate_expression (formula_evaluation_context &context, formula_node const &expression, parse_location const &location) |
| |
|
static void | post_process_expression (formula_post_process_context &context, formula_node &expression, parse_location const &location) |
| |
|
static datum | evaluate_children (formula_evaluation_context &context, statement_vector const &children) |
| |
◆ append()
◆ evaluate()
| virtual datum v1::skeleton_node::evaluate |
( |
formula_evaluation_context & | context | ) |
|
|
inlinevirtual |
Evaluate the template.
Text in the template is added to the context.output_text.
- Parameters
-
| context | Data used by expressions inside the template statements. .output_text will contain textual data from the template. |
- Returns
- datum::undefined when the skeleton_node generated textual data into context.output_text. datum::break when a #break statement was encountered. datum::continue when a #continue statement was encountered. Otherwise data returned from a #return statement.
Reimplemented in v1::skeleton_block_node, v1::skeleton_break_node, v1::skeleton_continue_node, v1::skeleton_do_node, v1::skeleton_expression_node, v1::skeleton_for_node, v1::skeleton_function_node, v1::skeleton_if_node, v1::skeleton_placeholder_node, v1::skeleton_return_node, v1::skeleton_string_node, v1::skeleton_top_node, and v1::skeleton_while_node.
◆ left_align()
| virtual void v1::skeleton_node::left_align |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ should_left_align()
| virtual bool v1::skeleton_node::should_left_align |
( |
| ) |
const |
|
inlinevirtualnoexcept |
The documentation for this struct was generated from the following file: