DefaultBlocks

Types

Link copied to clipboard
data class BlockBlock(val name: String, val contentType: String?) : KorteBlock
Link copied to clipboard
data class BlockCapture(val varname: String, val content: KorteBlock, val contentType: String? = null) : KorteBlock
Link copied to clipboard
data class BlockDebug(val expr: KorteExprNode) : KorteBlock
Link copied to clipboard
data class BlockExpr(val expr: KorteExprNode) : KorteBlock
Link copied to clipboard
data class BlockExtends(val expr: KorteExprNode) : KorteBlock
Link copied to clipboard
data class BlockFor(val varnames: List<String>, val expr: KorteExprNode, val loop: KorteBlock, val elseNode: KorteBlock?) : KorteBlock
Link copied to clipboard
data class BlockGroup(val children: List<KorteBlock>) : KorteBlock
Link copied to clipboard
data class BlockIf(val cond: KorteExprNode, val trueContent: KorteBlock, val falseContent: KorteBlock?) : KorteBlock
Link copied to clipboard
data class BlockImport(val fileExpr: KorteExprNode, val exportName: String) : KorteBlock
Link copied to clipboard
data class BlockInclude(val fileNameExpr: KorteExprNode, val params: LinkedHashMap<String, KorteExprNode>, val filePos: KorteFilePosContext, val tagContent: String) : KorteBlock
Link copied to clipboard
data class BlockMacro(val funcname: String, val args: List<String>, val body: KorteBlock) : KorteBlock
Link copied to clipboard
data class BlockSet(val varname: String, val expr: KorteExprNode) : KorteBlock
Link copied to clipboard
data class BlockText(val content: String) : KorteBlock