variable
fun LanguageFrontend.variable(name: String, type: Type = newUnknownType(), init: VariableDeclaration.() -> Unit? = null): VariableDeclaration
Creates a new VariableDeclaration in the Fluent Node DSL and adds it to the DeclarationStatement.declarations of the nearest enclosing DeclarationStatement. The init block can be used to create further sub-nodes as well as configuring the created node itself.