jinja : implement call statement (#24847)

* implement call statement

* undo unintended change

* de-lambda

* simplify

* move caller context inside function handler
This commit is contained in:
Sigbjørn Skjæret
2026-06-21 14:04:52 +02:00
committed by GitHub
parent 2f89acc2bc
commit bf533823cd
3 changed files with 116 additions and 46 deletions
+1
View File
@@ -552,6 +552,7 @@ struct call_statement : public statement {
for (const auto & arg : this->caller_args) chk_type<expression>(arg);
}
std::string type() const override { return "CallStatement"; }
value execute_impl(context & ctx) override;
};
struct ternary_expression : public expression {