ValueArgument
data class ValueArgument(val name: Node.Expression.NameExpression?, val spreadOperator: Node.Keyword.Asterisk?, val expression: Node.Expression, val supplement: NodeSupplement = NodeSupplement()) : Node
AST node that represents an actual value argument of a function call. For example, foo(1, 2)
has two value arguments 1
and 2
. The node corresponds to KtValueArgument.
Constructors
Link copied to clipboard
constructor(name: Node.Expression.NameExpression?, spreadOperator: Node.Keyword.Asterisk?, expression: Node.Expression, supplement: NodeSupplement = NodeSupplement())