Skip to content

CallExpr

CallExpr describes a call expression.

args(): Expr[]

Args returns the list of call arguments, excluding the target.

Expr[]


functionName(): string

FunctionName returns the name of the function.

string


isMemberFunction(): boolean

IsMemberFunction returns whether the call has a non-nil target indicating it is a member function.

boolean


target(): Expr

Target returns the target of the expression if one is present.

Expr