7#include "skeleton_node.hpp"
8#include "../macros.hpp"
20 void post_process(formula_post_process_context &context)
override
22 post_process_expression(context, *expression, location);
27 return std::format(
"<expression {}>", *expression);
30 datum
evaluate(formula_evaluation_context &context)
override
32 hilet tmp = evaluate_formula_without_output(context, *expression, location);
34 throw operation_error(std::format(
"{}: Found #break not inside a loop statement.", location));
36 }
else if (tmp.is_continue()) {
37 throw operation_error(std::format(
"{}: Found #continue not inside a loop statement.", location));
DOXYGEN BUG.
Definition algorithm.hpp:16
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:377
Definition parse_location.hpp:18
Definition skeleton_expression_node.hpp:12
datum evaluate(formula_evaluation_context &context) override
Evaluate the template.
Definition skeleton_expression_node.hpp:30
Definition skeleton_node.hpp:16