Uses of Enum Class
com.googlecode.aviator.lexer.token.OperatorType
Packages that use OperatorType
Package
Description
-
Uses of OperatorType in com.googlecode.aviator
Fields in com.googlecode.aviator with type parameters of type OperatorTypeModifier and TypeFieldDescriptionstatic final Map<OperatorType, AviatorFunction> AviatorEvaluator.OPS_MAPDeprecated.please use instance's field.Methods in com.googlecode.aviator that return types with arguments of type OperatorTypeModifier and TypeMethodDescriptionAviatorEvaluatorInstance.getOpsMap()Returns the operators map.Methods in com.googlecode.aviator with parameters of type OperatorTypeModifier and TypeMethodDescriptionstatic voidAviatorEvaluator.addOpFunction(OperatorType opType, AviatorFunction function) Add an operator aviator function,it's not thread-safe.voidAviatorEvaluatorInstance.addOpFunction(OperatorType opType, AviatorFunction function) Add an operator aviator function,it's not thread-safe.voidAviatorEvaluatorInstance.aliasOperator(OperatorType type, String token) Set a alias token for the operator, only supports AND and OR operator right now.AviatorEvaluatorInstance.getOperatorAliasToken(OperatorType type) static AviatorFunctionAviatorEvaluator.getOpFunction(OperatorType opType) Retrieve an operator aviator function by op type, return null if not found.It's not thread-safe.AviatorEvaluatorInstance.getOpFunction(OperatorType opType) Retrieve an operator aviator function by op type, return null if not found.It's not thread-safe.static AviatorFunctionAviatorEvaluator.removeOpFunction(OperatorType opType) Remove an operator aviator function by op type, it's not thread-safe.AviatorEvaluatorInstance.removeOpFunction(OperatorType opType) Remove an operator aviator function by op type, it's not thread-safe. -
Uses of OperatorType in com.googlecode.aviator.code.interpreter.ir
Methods in com.googlecode.aviator.code.interpreter.ir that return OperatorTypeConstructors in com.googlecode.aviator.code.interpreter.ir with parameters of type OperatorType -
Uses of OperatorType in com.googlecode.aviator.lexer.token
Subclasses with type arguments of type OperatorType in com.googlecode.aviator.lexer.tokenModifier and TypeClassDescriptionclassOperator tokenenumOperator typeMethods in com.googlecode.aviator.lexer.token that return OperatorTypeModifier and TypeMethodDescriptionOperatorToken.getOperatorType()static OperatorTypeReturns the enum constant of this class with the specified name.static OperatorType[]OperatorType.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.googlecode.aviator.lexer.token with parameters of type OperatorType -
Uses of OperatorType in com.googlecode.aviator.runtime.function.seq
Constructors in com.googlecode.aviator.runtime.function.seq with parameters of type OperatorTypeModifierConstructorDescriptionSeqMakePredicateFunFunction(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) -
Uses of OperatorType in com.googlecode.aviator.runtime.function.system
Methods in com.googlecode.aviator.runtime.function.system that return OperatorTypeConstructors in com.googlecode.aviator.runtime.function.system with parameters of type OperatorType -
Uses of OperatorType in com.googlecode.aviator.runtime.op
Methods in com.googlecode.aviator.runtime.op with parameters of type OperatorTypeModifier and TypeMethodDescriptionstatic booleanOperationRuntime.containsOpFunction(Map<String, Object> env, OperatorType opType) static AviatorObjectOperationRuntime.eval(AviatorObject left, AviatorObject right, Map<String, Object> env, OperatorType opType) Eval with binary operatorstatic AviatorObjectOperationRuntime.eval(AviatorObject arg, Map<String, Object> env, OperatorType opType) Eval with unary operatorstatic AviatorObjectOperationRuntime.eval(AviatorObject left, Map<String, Object> env, AviatorObject right, OperatorType opType) Just likeOperationRuntime.eval(AviatorObject, AviatorObject, Map, OperatorType), but with difference arguments order.static AviatorObjectOperationRuntime.eval(Map<String, Object> env, AviatorObject[] args, OperatorType opType) Eval with arguments array.static AviatorObjectOperationRuntime.evalOpFunction(Map<String, Object> env, AviatorObject[] args, OperatorType opType, AviatorFunction func) static final booleanOperationRuntime.hasRuntimeContext(Map<String, Object> env, OperatorType opType)