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, setName
protected ArgList argList
protected String getTraceName()
getTraceName
in class Funcs.AbstractExpr
public Object doEvaluate(Backtrace backtrace, Compiler.ICtx ctx)
doEvaluate
in class Funcs.AbstractExpr
protected 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
InvalidParametersException
public void setParams(List<ICompiled> params) throws InvalidParametersException
InvalidParametersException
Copyright © 2022. All rights reserved.