CallExpr
CallExpr describes a call expression.
Methods
Section titled “Methods”args()
Section titled “args()”args():
Expr[]
Args returns the list of call arguments, excluding the target.
Returns
Section titled “Returns”Expr[]
functionName()
Section titled “functionName()”functionName():
string
FunctionName returns the name of the function.
Returns
Section titled “Returns”string
isMemberFunction()
Section titled “isMemberFunction()”isMemberFunction():
boolean
IsMemberFunction returns whether the call has a non-nil target indicating it is a member function.
Returns
Section titled “Returns”boolean
target()
Section titled “target()”target():
Expr
Target returns the target of the expression if one is present.