7#include "skeleton_node.hpp"
12 statement_vector children;
25 if (std::ssize(children) > 0) {
26 children.back()->left_align();
29 for (ttlet &child: children) {
30 child->post_process(context);
36 return evaluate_children(context, children);
44 ttlet children_str = transform<std::vector<std::string>>(children, [](ttlet &x) {
return x->string(); });
45 return std::format(
"<top {}>", join(children_str));
Exception thrown during execution of a dynamic operation.
Definition exception.hpp:42
Definition formula_evaluation_context.hpp:16
Definition formula_post_process_context.hpp:19
Definition parse_location.hpp:17
Definition skeleton_node.hpp:16
Definition skeleton_top_node.hpp:11
datum evaluate(formula_evaluation_context &context) override
Evaluate the template.
Definition skeleton_top_node.hpp:34
bool append(std::unique_ptr< skeleton_node > x) noexcept override
Append a template-piece to the current template.
Definition skeleton_top_node.hpp:19