public class FunctionCall extends Expression
| 构造器和说明 |
|---|
FunctionCall(Span span,
Expression function,
List<Expression> arguments,
boolean inLinq) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearCachedArguments()
Must be invoked when this node is done evaluating so we don't leak memory
|
Object |
evaluate(MagicScriptContext context,
Scope scope) |
List<Expression> |
getArguments() |
Object[] |
getCachedArguments() |
JavaInvoker<Method> |
getCachedFunction() |
Expression |
getFunction() |
void |
setCachedFunction(JavaInvoker<Method> cachedFunction) |
public FunctionCall(Span span, Expression function, List<Expression> arguments, boolean inLinq)
public Expression getFunction()
public List<Expression> getArguments()
public JavaInvoker<Method> getCachedFunction()
public void setCachedFunction(JavaInvoker<Method> cachedFunction)
public Object[] getCachedArguments()
public void clearCachedArguments()
public Object evaluate(MagicScriptContext context, Scope scope)
Copyright © 2020–2021. All rights reserved.