tpl
Generated by tinox doc
tinox.core.tpl, split out of the bundled stdlib as a standalone tinox-central package.
class CompiledTemplate
Fields
source | String | |
sections | List<TemplateSection> |
class Template
Methods
fn render(template: String, data: Map<String, JsonValue>) → String
fn renderLoop(template: String, items: List<Map<String, JsonValue>>, itemVar: String) → String
fn compile(template: String) → CompiledTemplate
fn execute(tpl: CompiledTemplate, data: Map<String, JsonValue>) → String
class TemplateSection
Fields
kind | String | |
content | String |