7#include "skeleton_node.hpp"
9namespace hi::inline v1 {
12 statement_vector children;
26 if (ssize(children) > 0) {
27 children.back()->left_align();
30 for (
hilet &child : children) {
31 child->post_process(context);
38 return evaluate_children(context, children);
47 hilet children_str = transform<std::vector<std::string>>(children, [](
hilet &x) {
50 return std::format(
"<top {}>", join(children_str));
#define hilet
Invariant should be the default for variables.
Definition required.hpp:23
A dynamic data type.
Definition datum.hpp:209
Exception thrown during execution of a dynamic operation.
Definition exception.hpp:37
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:35
bool append(std::unique_ptr< skeleton_node > x) noexcept override
Append a template-piece to the current template.
Definition skeleton_top_node.hpp:18