| Modifier and Type | Method and Description |
|---|---|
Env |
AviatorEvaluatorInstance.addModule(Class<?> moduleClazz)
Adds a module class and import it's public static methods as module's exports into module
cache, return the exports map.
|
protected Env |
BaseExpression.genTopEnv(Map<String,Object> map) |
Env |
BaseExpression.getCompileEnv() |
protected Env |
BaseExpression.newEnv(Map<String,Object> map) |
protected Env |
BaseExpression.newEnv(Map<String,Object> map,
boolean direct) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
ClassExpression.execute0(Env env) |
LambdaFunction |
BaseExpression.newLambda(Env env,
String name) |
void |
BaseExpression.setCompileEnv(Env compileEnv) |
| Modifier and Type | Field and Description |
|---|---|
protected Env |
BaseEvalCodeGenerator.compileEnv
Compile environment only has the *instance*.
|
| Modifier and Type | Method and Description |
|---|---|
Env |
InterpretContext.getEnv() |
| Constructor and Description |
|---|
InterpretContext(InterpretExpression exp,
List<IR> instruments,
Env env) |
| Modifier and Type | Method and Description |
|---|---|
LambdaFunction |
LambdaFunctionBootstrap.newInstance(Env env)
Create a lambda function.
|
| Modifier and Type | Field and Description |
|---|---|
protected Env |
LambdaFunction.context |
| Modifier and Type | Method and Description |
|---|---|
Env |
LambdaFunction.getContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
LambdaFunction.setContext(Env context) |
| Constructor and Description |
|---|
LambdaFunction(String name,
List<FunctionParam> params,
Expression expression,
Env context) |
| Constructor and Description |
|---|
CatchHandler(Env env,
AviatorFunction func,
List<String> exceptionClassNames) |
Copyright © 2010–2022. All rights reserved.