public abstract static class Funcs.FuncExp extends Funcs.AbstractExpr
| Modifier and Type | Field and Description |
|---|---|
protected ArgList |
argList |
debugInfo, name| Constructor and Description |
|---|
FuncExp() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkParamsList(List<ICompiled> params)
Ensure that parametes are valid and can be set for the object.
|
Object |
doEvaluate(Backtrace backtrace,
Compiler.ICtx ctx) |
Compiler.Eargs |
evaluateParameters(Backtrace backtrace,
Compiler.ICtx ctx)
Evaluate function parameters in the execution context.
|
protected abstract Object |
evalWithArgs(Backtrace backtrace,
Compiler.Eargs eargs) |
protected String |
getTraceName() |
void |
setParams(List<ICompiled> params)
Set parameters for function on compilation stage.
|
evaluate, getDebugInfo, getName, run, setDebugInfo, setNameprotected ArgList argList
protected String getTraceName()
getTraceName in class Funcs.AbstractExprpublic Object doEvaluate(Backtrace backtrace, Compiler.ICtx ctx)
doEvaluate in class Funcs.AbstractExprprotected abstract Object evalWithArgs(Backtrace backtrace, Compiler.Eargs eargs)
public Compiler.Eargs evaluateParameters(Backtrace backtrace, Compiler.ICtx ctx)
public void checkParamsList(List<ICompiled> params) throws InvalidParametersException
InvalidParametersExceptionpublic void setParams(List<ICompiled> params) throws InvalidParametersException
InvalidParametersExceptionCopyright © 2022. All rights reserved.