param
fun LanguageFrontend.param(name: CharSequence, type: Type = UnknownType.getUnknownType(), init: ParamVariableDeclaration.() -> Unit? = null): ParamVariableDeclaration
Creates a new ParamVariableDeclaration 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.