functionDeclaration
fun functionDeclaration(modifiers: List<Node.Modifier> = listOf(), lAngle: Node.Keyword.Less? = null, typeParameters: List<Node.TypeParameter> = listOf(), rAngle: Node.Keyword.Greater? = null, receiverType: Node.Type? = null, name: Node.Expression.NameExpression? = null, lPar: Node.Keyword.LPar = Node.Keyword.LPar(), parameters: List<Node.FunctionParameter> = listOf(), rPar: Node.Keyword.RPar = Node.Keyword.RPar(), returnType: Node.Type? = null, postModifiers: List<Node.PostModifier> = listOf(), body: Node.Expression? = null, supplement: NodeSupplement = NodeSupplement()): Node.Declaration.FunctionDeclaration
Creates a new Node.Declaration.FunctionDeclaration instance.