KorteTemplate
class KorteTemplate
Types
Link copied to clipboard
data class BlockInTemplateEval(val name: String, val block: KorteBlock, val template: KorteTemplate.TemplateEvalContext)
Link copied to clipboard
interface DynamicInvokable
Link copied to clipboard
class EvalContext(var currentTemplate: KorteTemplate.TemplateEvalContext, var scope: KorteTemplate.Scope, val config: KorteTemplateConfig, val mapper: KorteObjectMapper2, var write: suspend (str: String) -> Unit) : KorteDynamicContext
Link copied to clipboard
Link copied to clipboard
class Macro(val name: String, val argNames: List<String>, val code: KorteBlock) : KorteTemplate.DynamicInvokable
Link copied to clipboard
Link copied to clipboard
class Scope(val map: Any?, val mapper: KorteObjectMapper2, val parent: KorteTemplate.Scope? = null) : KorteDynamicContext
Link copied to clipboard
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun prender(args: Any?, mapper: KorteObjectMapper2 = KorteMapper2): KorteAsyncTextWriterContainer
suspend fun prender(vararg args: Pair<String, Any?>, mapper: KorteObjectMapper2 = KorteMapper2): KorteAsyncTextWriterContainer