Expand description
Walks crate::ast::Node trees and produces output strings using an crate::Environment and JSON context.
Structs§
- Caller
Frame - One active
{% call %}: body to render forcaller()/caller(args…), plus optional formal parameters. - CtxStack
- Nunjucks-style frame stack: inner frames shadow outer;
setupdates the innermost existing binding. - Render
State - Per-render state: optional loader, include cycle stack, macro scopes, and block inheritance for
extends.
Functions§
- render
- Renders
rootto a string usingenvandctx_stack. - render_
entry - Entry: handle
{% extends %}child templates, otherwise normal render.