block

fun LanguageFrontend<*, *>.block(needsScope: Boolean = true, init: Block.() -> Unit): Block

Creates a new Block in the Fluent Node DSL and sets it to the FunctionDeclaration.body of the nearest enclosing FunctionDeclaration. The init block can be used to create further sub-nodes as well as configuring the created node itself.