Uses of Class
com.googlecode.aviator.lexer.token.OperatorType
-
-
Uses of OperatorType in com.googlecode.aviator
Fields in com.googlecode.aviator with type parameters of type OperatorType Modifier and Type Field Description private java.util.Map<OperatorType,java.lang.String>AviatorEvaluatorInstance. aliasOperatorTokensalias operator tokenstatic java.util.Map<OperatorType,AviatorFunction>AviatorEvaluator. OPS_MAPDeprecated.please use instance's field.private java.util.Map<OperatorType,AviatorFunction>AviatorEvaluatorInstance. opsMapMethods in com.googlecode.aviator that return types with arguments of type OperatorType Modifier and Type Method Description java.util.Map<OperatorType,AviatorFunction>AviatorEvaluatorInstance. getOpsMap()Returns the operators map.Methods in com.googlecode.aviator with parameters of type OperatorType Modifier and Type Method Description static 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, java.lang.String token)Set a alias token for the operator, only supports AND and OR operator right now.java.lang.StringAviatorEvaluatorInstance. 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.AviatorFunctionAviatorEvaluatorInstance. 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.AviatorFunctionAviatorEvaluatorInstance. 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 OperatorType Modifier and Type Method Description private intOptimizeCodeGenerator. executeOperator(java.util.Map<java.lang.Integer,DelegateToken.DelegateTokenType> index2DelegateType, Token<?> operatorToken, OperatorType operatorType, int operatorIndex, int operandCount)private java.util.Map<java.lang.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 OperatorType Modifier and Type Method Description private voidASMCodeGenerator. doCompareAndJump(Token<?> lookhead, int ints, OperatorType opType)private voidASMCodeGenerator. loadOpType(OperatorType opType)private voidASMCodeGenerator. visitBinOperator(Token<?> token, OperatorType opType, java.lang.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, java.lang.String methodName) -
Uses of OperatorType in com.googlecode.aviator.code.interpreter.ir
Fields in com.googlecode.aviator.code.interpreter.ir declared as OperatorType Modifier and Type Field Description private OperatorTypeOperatorIR. opMethods in com.googlecode.aviator.code.interpreter.ir that return OperatorType Modifier and Type Method Description OperatorTypeOperatorIR. getOp()Methods in com.googlecode.aviator.code.interpreter.ir with parameters of type OperatorType Modifier and Type Method Description (package private) static OperatorIROperatorIR. valueOf(OperatorType op)Constructors in com.googlecode.aviator.code.interpreter.ir with parameters of type OperatorType Constructor Description OperatorIR(OperatorType op)OperatorIR(OperatorType op, AviatorFunction func) -
Uses of OperatorType in com.googlecode.aviator.lexer.token
Fields in com.googlecode.aviator.lexer.token declared as OperatorType Modifier and Type Field Description private OperatorTypeOperatorToken. operatorTypeMethods in com.googlecode.aviator.lexer.token that return OperatorType Modifier and Type Method Description OperatorTypeOperatorToken. getOperatorType()OperatorTypeOperatorToken. getValue(java.util.Map<java.lang.String,java.lang.Object> env)static OperatorTypeOperatorType. valueOf(java.lang.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.Constructors in com.googlecode.aviator.lexer.token with parameters of type OperatorType Constructor Description OperatorToken(Token<?> lookhead, OperatorType operatorType) -
Uses of OperatorType in com.googlecode.aviator.runtime.function.seq
Fields in com.googlecode.aviator.runtime.function.seq declared as OperatorType Modifier and Type Field Description private OperatorTypeSeqMakePredicateFunFunction. opTypeprivate OperatorTypeSeqPredicateFunction. opTypeConstructors in com.googlecode.aviator.runtime.function.seq with parameters of type OperatorType Constructor Description SeqMakePredicateFunFunction(java.lang.String name, OperatorType opType)SeqMakePredicateFunFunction(java.lang.String name, OperatorType opType, AviatorObject value)SeqPredicateFunction(java.lang.String name, OperatorType opType, AviatorObject value)SeqPredicateFunction(java.lang.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 OperatorType Modifier and Type Field Description private OperatorTypeBinaryFunction. opTypeMethods in com.googlecode.aviator.runtime.function.system that return OperatorType Modifier and Type Method Description OperatorTypeBinaryFunction. getOpType()Constructors in com.googlecode.aviator.runtime.function.system with parameters of type OperatorType Constructor Description BinaryFunction(OperatorType opType) -
Uses of OperatorType in com.googlecode.aviator.runtime.op
Methods in com.googlecode.aviator.runtime.op with parameters of type OperatorType Modifier and Type Method Description static booleanOperationRuntime. containsOpFunction(java.util.Map<java.lang.String,java.lang.Object> env, OperatorType opType)static AviatorObjectOperationRuntime. eval(AviatorObject left, AviatorObject right, java.util.Map<java.lang.String,java.lang.Object> env, OperatorType opType)Eval with binary operatorstatic AviatorObjectOperationRuntime. eval(AviatorObject arg, java.util.Map<java.lang.String,java.lang.Object> env, OperatorType opType)Eval with unary operatorstatic AviatorObjectOperationRuntime. eval(AviatorObject left, java.util.Map<java.lang.String,java.lang.Object> env, AviatorObject right, OperatorType opType)Just likeOperationRuntime.eval(AviatorObject, AviatorObject, Map, OperatorType), but with difference arguments order.static AviatorObjectOperationRuntime. eval(java.util.Map<java.lang.String,java.lang.Object> env, AviatorObject[] args, OperatorType opType)Eval with arguments array.private static AviatorObjectOperationRuntime. eval0(AviatorObject left, AviatorObject right, java.util.Map<java.lang.String,java.lang.Object> env, OperatorType opType, AviatorFunction func)private static AviatorObjectOperationRuntime. eval0(AviatorObject arg, java.util.Map<java.lang.String,java.lang.Object> env, OperatorType opType, AviatorFunction func)private static AviatorObjectOperationRuntime. eval0(java.util.Map<java.lang.String,java.lang.Object> env, AviatorObject[] args, OperatorType opType, AviatorFunction func)static AviatorObjectOperationRuntime. evalOpFunction(java.util.Map<java.lang.String,java.lang.Object> env, AviatorObject[] args, OperatorType opType, AviatorFunction func)static booleanOperationRuntime. hasRuntimeContext(java.util.Map<java.lang.String,java.lang.Object> env, OperatorType opType)private static voidOperationRuntime. trace(java.util.Map<java.lang.String,java.lang.Object> env, OperatorType opType, AviatorObject result, AviatorObject... args)
-