param

fun LanguageFrontend<*, *>.param(name: CharSequence, type: Type = unknownType(), init: ParameterDeclaration.() -> Unit? = null): ParameterDeclaration

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