| 969 | std::shared_ptr<TemplateNode> else_body; |
| 970 | public: |
| 971 | ForNode(const Location & loc, std::vector<std::string> && var_names, std::shared_ptr<Expression> && iterable, |
| 972 | std::shared_ptr<Expression> && condition, std::shared_ptr<TemplateNode> && body, bool recursive, std::shared_ptr<TemplateNode> && else_body) |
| 973 | : TemplateNode(loc), var_names(var_names), iterable(std::move(iterable)), condition(std::move(condition)), body(std::move(body)), recursive(recursive), else_body(std::move(else_body)) {} |
| 974 | |
| 975 | void do_render(std::ostringstream & out, const std::shared_ptr<Context> & context) const override { |
| 976 | // https://jinja.palletsprojects.com/en/3.0.x/templates/#for |
nothing calls this directly
no outgoing calls
no test coverage detected