7#include "skeleton_node.hpp"
12 statement_vector children;
42 if (std::ssize(children) > 0) {
43 children.back()->left_align();
46 post_process_expression(context, *expression, location);
48 for (ttlet &child: children) {
49 child->post_process(context);
58 context.loop_push(loop_count++);
59 auto tmp = evaluate_children(context, children);
64 }
else if (tmp.is_continue()) {
66 }
else if (!tmp.is_undefined()) {
71 }
while (evaluate_formula_without_output(context, *expression, formula_location));
76 tt_assert(expression);
79 s += to_string(*expression);
Definition formula_evaluation_context.hpp:16
void set_output_size(ssize_t new_size) noexcept
Set the size of the output.
Definition formula_evaluation_context.hpp:67
ssize_t output_size() const noexcept
Get the size of the output.
Definition formula_evaluation_context.hpp:60
Definition formula_post_process_context.hpp:19
Definition parse_location.hpp:17
Definition skeleton_do_node.hpp:11
datum evaluate(formula_evaluation_context &context) override
Evaluate the template.
Definition skeleton_do_node.hpp:53
bool append(std::unique_ptr< skeleton_node > x) noexcept override
Append a template-piece to the current template.
Definition skeleton_do_node.hpp:32
Definition skeleton_node.hpp:16