Context

The object which manages the rendering of an embd template.

To use, create a subclass, manually implement write, and automatically implement render by mixin(renderer).

This allows you to access fields and other methods of your subclass from the template (which is generated to be within the body of render).

Members

Functions

render
void render()

Renders the template. Don't implement this manually, instead mixin(renderer) in your subclass.

write
void write(string content, dchar evalCode)

Write the content to whatever you are writing to.

Manifest constants

renderer
enum renderer;

The render implementation to mixin to your subclass.

Meta