| Modifier and Type | Field | Description |
|---|---|---|
static Map<OperatorType,AviatorFunction> |
AviatorEvaluator.OPS_MAP |
Deprecated.
please use instance's field.
|
| Modifier and Type | Method | Description |
|---|---|---|
Map<OperatorType,AviatorFunction> |
AviatorEvaluatorInstance.getOpsMap() |
Returns the operators map.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
AviatorEvaluator.addOpFunction(OperatorType opType,
AviatorFunction function) |
Add an operator aviator function,it's not thread-safe.
|
void |
AviatorEvaluatorInstance.addOpFunction(OperatorType opType,
AviatorFunction function) |
Add an operator aviator function,it's not thread-safe.
|
static AviatorFunction |
AviatorEvaluator.getOpFunction(OperatorType opType) |
Retrieve an operator aviator function by op type, return null if not found.It's not
thread-safe.
|
AviatorFunction |
AviatorEvaluatorInstance.getOpFunction(OperatorType opType) |
Retrieve an operator aviator function by op type, return null if not found.It's not
thread-safe.
|
static AviatorFunction |
AviatorEvaluator.removeOpFunction(OperatorType opType) |
Remove an operator aviator function by op type, it's not thread-safe.
|
AviatorFunction |
AviatorEvaluatorInstance.removeOpFunction(OperatorType opType) |
Remove an operator aviator function by op type, it's not thread-safe.
|
| Modifier and Type | Method | Description |
|---|---|---|
OperatorType |
OperatorToken.getOperatorType() |
|
OperatorType |
OperatorToken.getValue(Map<String,Object> env) |
|
static OperatorType |
OperatorType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static OperatorType[] |
OperatorType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor | Description |
|---|---|
OperatorToken(Token<?> lookhead,
OperatorType operatorType) |
| Constructor | Description |
|---|---|
SeqMakePredicateFunFunction(String name,
OperatorType opType) |
|
SeqMakePredicateFunFunction(String name,
OperatorType opType,
AviatorObject value) |
|
SeqPredicateFunction(String name,
OperatorType opType,
AviatorObject value) |
|
SeqPredicateFunction(String name,
OperatorType opType,
AviatorObject value,
AviatorObject propertyName) |
| Modifier and Type | Method | Description |
|---|---|---|
OperatorType |
BinaryFunction.getOpType() |
| Constructor | Description |
|---|---|
BinaryFunction(OperatorType opType) |
| Modifier and Type | Method | Description |
|---|---|---|
static AviatorObject |
OperationRuntime.eval(AviatorObject left,
AviatorObject right,
Map<String,Object> env,
OperatorType opType) |
Eval with binary operator
|
static AviatorObject |
OperationRuntime.eval(AviatorObject arg,
Map<String,Object> env,
OperatorType opType) |
Eval with unary operator
|
static AviatorObject |
OperationRuntime.eval(AviatorObject left,
Map<String,Object> env,
AviatorObject right,
OperatorType opType) |
Just like
OperationRuntime.eval(AviatorObject, AviatorObject, Map, OperatorType), but with difference
arguments order. |
static AviatorObject |
OperationRuntime.eval(Map<String,Object> env,
AviatorObject[] args,
OperatorType opType) |
Eval with arguments array.
|
static boolean |
OperationRuntime.hasRuntimeContext(Map<String,Object> env,
OperatorType opType) |
Copyright © 2022–2023. All rights reserved.