record

fun LanguageFrontend<*, *>.record(name: CharSequence, kind: String = "class", init: RecordDeclaration.() -> Unit): RecordDeclaration

Creates a new RecordDeclaration in the Fluent Node DSL with the given name. The declaration will be set to the ScopeManager.currentRecord. The init block can be used to create further sub-nodes as well as configuring the created node itself.