Sugar.Templates.Engine behaviour
Specification of the template engine API implemented by individual template engines.
Types ↑
Callbacks
Specs:
Compiles a template
.
It is advised that an engine implementation removes the template source from the struct if it is not needed after compilation but retain it if needed for rendering.
Specs:
Renders a compiled template based on the given template
struct.