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 TypeFieldDescriptionprivate final Map<OperatorType, String> AviatorEvaluatorInstance.aliasOperatorTokensalias operator tokenstatic final Map<OperatorType, AviatorFunction> AviatorEvaluator.OPS_MAPDeprecated.please use instance's field.private final Map<OperatorType, AviatorFunction> AviatorEvaluatorInstance.opsMapMethods 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
Methods in com.googlecode.aviator.code with parameters of type OperatorTypeModifier and TypeMethodDescriptionprivate intOptimizeCodeGenerator.executeOperator(Map<Integer, DelegateToken.DelegateTokenType> index2DelegateType, Token<?> operatorToken, OperatorType operatorType, int operatorIndex, int operandCount) private Map<Integer, DelegateToken.DelegateTokenType> OptimizeCodeGenerator.getIndex2DelegateTypeMap(OperatorType opType) -
Uses of OperatorType in com.googlecode.aviator.code.asm
Methods in com.googlecode.aviator.code.asm with parameters of type OperatorTypeModifier and TypeMethodDescriptionprivate voidASMCodeGenerator.doCompareAndJump(Token<?> lookhead, int ints, OperatorType opType) private voidASMCodeGenerator.loadOpType(OperatorType opType) private voidASMCodeGenerator.visitBinOperator(Token<?> token, OperatorType opType, String methodName) private voidASMCodeGenerator.visitCompare(int ints, OperatorType opType) private voidASMCodeGenerator.visitLeftBranch(Token<?> lookhead, int ints, OperatorType opType) private voidASMCodeGenerator.visitRightBranch(Token<?> lookhead, int ints, OperatorType opType) private voidASMCodeGenerator.visitUnaryOperator(Token<?> lookhead, OperatorType opType, String methodName) -
Uses of OperatorType in com.googlecode.aviator.code.interpreter.ir
Fields in com.googlecode.aviator.code.interpreter.ir declared as OperatorTypeMethods in com.googlecode.aviator.code.interpreter.ir that return OperatorTypeMethods in com.googlecode.aviator.code.interpreter.ir with parameters of type OperatorTypeModifier and TypeMethodDescription(package private) static OperatorIROperatorIR.valueOf(OperatorType op) Constructors 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 typeFields in com.googlecode.aviator.lexer.token declared as OperatorTypeMethods 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
Fields in com.googlecode.aviator.runtime.function.seq declared as OperatorTypeModifier and TypeFieldDescriptionprivate final OperatorTypeSeqMakePredicateFunFunction.opTypeprivate final OperatorTypeSeqPredicateFunction.opTypeConstructors 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
Fields in com.googlecode.aviator.runtime.function.system declared as OperatorTypeMethods 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.private static AviatorObjectOperationRuntime.eval0(AviatorObject left, AviatorObject right, Map<String, Object> env, OperatorType opType, AviatorFunction func) private static AviatorObjectOperationRuntime.eval0(AviatorObject arg, Map<String, Object> env, OperatorType opType, AviatorFunction func) private static AviatorObjectOperationRuntime.eval0(Map<String, Object> env, AviatorObject[] args, OperatorType opType, AviatorFunction func) static AviatorObjectOperationRuntime.evalOpFunction(Map<String, Object> env, AviatorObject[] args, OperatorType opType, AviatorFunction func) static final booleanOperationRuntime.hasRuntimeContext(Map<String, Object> env, OperatorType opType) private static voidOperationRuntime.trace(Map<String, Object> env, OperatorType opType, AviatorObject result, AviatorObject... args)