render

abstract fun render(environment: KbEnvironment): String(source)

Renders this template using the provided environment.

Return

the rendered output string.

Parameters

environment

the KbEnvironment supplying variable bindings for this render pass.

Throws

if the template source cannot be parsed.

if a fatal error occurs at render time (e.g. unknown transform name).