MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / FilterNode

Method FilterNode

src/include/minja/minja.hpp:1110–1111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1108
1109public:
1110 FilterNode(const Location & loc, std::shared_ptr<Expression> && f, std::shared_ptr<TemplateNode> && b)
1111 : TemplateNode(loc), filter(std::move(f)), body(std::move(b)) {}
1112
1113 void do_render(std::ostringstream & out, const std::shared_ptr<Context> & context) const override {
1114 if (!filter) throw std::runtime_error("FilterNode.filter is null");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected