| Modifier and Type | Class and Description |
|---|---|
class |
BaseExpression
Base expression
|
class |
ClassExpression
Compiled expression,all generated class inherit this class
|
class |
InterpretExpression |
class |
LiteralExpression
A literal expression with a fixed result
|
| Modifier and Type | Method and Description |
|---|---|
static Expression |
AviatorEvaluator.compile(String expression)
Compile a text expression to Expression Object without caching
|
Expression |
AviatorEvaluatorInstance.compile(String expression)
Compile a text expression to Expression Object without caching
|
static Expression |
AviatorEvaluator.compile(String expression,
boolean cached)
Compile a text expression to Expression object
|
Expression |
AviatorEvaluatorInstance.compile(String expression,
boolean cached)
Compile a text expression to Expression object
|
Expression |
AviatorEvaluatorInstance.compile(String cacheKey,
String expression,
boolean cached)
Compile a text expression to Expression object
|
Expression |
AviatorEvaluatorInstance.compileScript(String path)
Compile a script file into expression, it doesn't cache the compiled result.
|
Expression |
AviatorEvaluatorInstance.compileScript(String path,
boolean cached)
Compile a script file into expression.
|
Expression |
AviatorEvaluatorInstance.compileScript(String cacheKey,
File file,
boolean cached)
Compile a script into expression.
|
static Expression |
AviatorEvaluator.getCachedExpression(String expression)
Returns a compiled expression in cache
|
Expression |
AviatorEvaluatorInstance.getCachedExpression(String expression)
Returns a compiled expression in cache
|
Expression |
AviatorEvaluatorInstance.getCachedExpressionByKey(String cacheKey)
Returns a compiled expression in cache by cacheKey.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EnvProcessor.afterExecute(Map<String,Object> env,
Expression script)
This method will be called after executing the expression.
|
void |
EnvProcessor.beforeExecute(Map<String,Object> env,
Expression script)
This method will be called before executing the expression.
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
LambdaGenerator.getResult(boolean unboxObject) |
Expression |
CodeGenerator.getResult(boolean unboxObject) |
Expression |
OptimizeCodeGenerator.getResult(boolean unboxObject) |
Expression |
NoneCodeGenerator.getResult(boolean unboxObject) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
ASMCodeGenerator.getResult(boolean unboxObject) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
InterpretCodeGenerator.getResult(boolean unboxObject) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
ExpressionParser.parse() |
Expression |
ExpressionParser.parse(boolean reportErrorIfNotEOF) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
LambdaFunctionBootstrap.getExpression() |
| Constructor and Description |
|---|
LambdaFunctionBootstrap(String name,
Expression expression,
List<FunctionParam> arguments,
boolean inheritEnv) |
| Constructor and Description |
|---|
LambdaFunction(String name,
List<FunctionParam> params,
Expression expression,
Env context) |
| Constructor and Description |
|---|
ExpressionSegment(Expression exp) |
| Modifier and Type | Method and Description |
|---|---|
void |
AviatorBindings.setExpression(Expression exp) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
Env.getExpression() |
| Modifier and Type | Method and Description |
|---|---|
void |
Env.configure(AviatorEvaluatorInstance instance,
Expression exp) |
void |
Env.setExpression(Expression expression) |
Copyright © 2010–2022. All rights reserved.