FunctionCall

class FunctionCall(val expression: Expression, val arguments: Array<FunctionArgument>) : Expression, Statement

Represents the invocation of a function.

This can exist as an expression, where the function's return value is used as part of a separate statement, or as a standalone statement, where the only purpose of calling the function is for its side effects.

Constructors

Link copied to clipboard
fun FunctionCall(expression: Expression, arguments: Array<FunctionArgument>)

Properties

Link copied to clipboard
val arguments: Array<FunctionArgument>

a list of arguments to be passed to the function.

Link copied to clipboard
val expression: Expression

an expression evaluating to the function to be called.