FunctionCallArgumentsBuilder

Builder for the argument list of a synthesized function call, typically used to implement PrimitiveFunctionBackedNode.toFunctionCallArguments.

Provides concise helpers that wrap common value shapes into Expressions, mapping null to NoneValue where an argument is optional.

See also

Functions

Link copied to clipboard
fun arg(name: String, expression: Expression)

Appends a named argument.

Link copied to clipboard
fun block(node: Node?): Expression
fun block(nodes: List<Node>?): Expression
Link copied to clipboard
fun boolean(value: Boolean?): Expression
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun number(value: Number?): Expression
Link copied to clipboard
fun obj(value: Any?): Expression
Link copied to clipboard
fun string(value: String?): Expression