function
fun LanguageFrontend.function(name: CharSequence, returnType: Type = UnknownType.getUnknownType(), init: FunctionDeclaration.() -> Unit): FunctionDeclaration
Creates a new FunctionDeclaration in the Fluent Node DSL with the given name and optional returnType. The init block can be used to create further sub-nodes as well as configuring the created node itself.