Uses of Interface
com.googlecode.aviator.Expression
Packages that use Expression
Package
Description
-
Uses of Expression in com.googlecode.aviator
Classes in com.googlecode.aviator that implement ExpressionModifier and TypeClassDescriptionclass
Base expressionclass
Compiled expression,all generated class inherit this classclass
class
A literal expression with a fixed resultFields in com.googlecode.aviator with type parameters of type ExpressionModifier and TypeFieldDescriptionprivate final ConcurrentHashMap
<String, FutureTask<Expression>> AviatorEvaluatorInstance.expressionCache
Compiled Expression cacheprivate LRUMap
<String, FutureTask<Expression>> AviatorEvaluatorInstance.expressionLRUCache
Methods in com.googlecode.aviator that return ExpressionModifier and TypeMethodDescriptionstatic Expression
Compile a text expression to Expression Object without cachingstatic Expression
Compile a text expression to Expression objectstatic Expression
Compile a text expression to Expression object and cache it with the specified cache keyCompile a text expression to Expression Object without cachingCompile a text expression to Expression objectCompile a text expression to Expression objectprivate Expression
AviatorEvaluatorInstance.compile
(String cacheKey, String expression, String sourceFile, boolean cached) AviatorEvaluatorInstance.compileScript
(String path) Compile a script file into expression, it doesn't cache the compiled result.AviatorEvaluatorInstance.compileScript
(String path, boolean cached) Compile a script file into 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 cacheAviatorEvaluatorInstance.getCachedExpression
(String expression) Returns a compiled expression in cacheAviatorEvaluatorInstance.getCachedExpressionByKey
(String cacheKey) Returns a compiled expression in cache by cacheKey.private Expression
AviatorEvaluatorInstance.getCompiledExpression
(String cacheKey, FutureTask<Expression> task) private Expression
AviatorEvaluatorInstance.innerCompile
(String expression, String sourceFile, boolean cached) Methods in com.googlecode.aviator that return types with arguments of type ExpressionModifier and TypeMethodDescriptionprivate FutureTask
<Expression> AviatorEvaluatorInstance.newCompileTask
(String expression, String sourceFile, boolean cached) Methods in com.googlecode.aviator with parameters of type ExpressionModifier and TypeMethodDescriptionvoid
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.AviatorEvaluatorInstance.executeModule
(Expression exp, String abPath) Main.newEnv
(Expression exp, String abPath, String[] args) Method parameters in com.googlecode.aviator with type arguments of type ExpressionModifier and TypeMethodDescriptionprivate Expression
AviatorEvaluatorInstance.getCompiledExpression
(String cacheKey, FutureTask<Expression> task) -
Uses of Expression in com.googlecode.aviator.code
Methods in com.googlecode.aviator.code that return Expression -
Uses of Expression in com.googlecode.aviator.code.asm
Methods in com.googlecode.aviator.code.asm that return Expression -
Uses of Expression in com.googlecode.aviator.code.interpreter
Methods in com.googlecode.aviator.code.interpreter that return Expression -
Uses of Expression in com.googlecode.aviator.parser
Methods in com.googlecode.aviator.parser that return Expression -
Uses of Expression in com.googlecode.aviator.runtime
Methods in com.googlecode.aviator.runtime that return ExpressionConstructors in com.googlecode.aviator.runtime with parameters of type ExpressionModifierConstructorDescriptionLambdaFunctionBootstrap
(String name, Expression expression, List<FunctionParam> arguments, boolean inheritEnv) -
Uses of Expression in com.googlecode.aviator.runtime.function
Constructors in com.googlecode.aviator.runtime.function with parameters of type ExpressionModifierConstructorDescriptionLambdaFunction
(String name, List<FunctionParam> params, Expression expression, Env context) -
Uses of Expression in com.googlecode.aviator.runtime.type.string
Fields in com.googlecode.aviator.runtime.type.string declared as ExpressionConstructors in com.googlecode.aviator.runtime.type.string with parameters of type Expression -
Uses of Expression in com.googlecode.aviator.script
Fields in com.googlecode.aviator.script declared as ExpressionMethods in com.googlecode.aviator.script with parameters of type ExpressionConstructors in com.googlecode.aviator.script with parameters of type ExpressionModifierConstructorDescription(package private)
CompiledAviatorScript
(AviatorScriptEngine engine, Expression expression) -
Uses of Expression in com.googlecode.aviator.utils
Fields in com.googlecode.aviator.utils declared as ExpressionMethods in com.googlecode.aviator.utils that return ExpressionMethods in com.googlecode.aviator.utils with parameters of type ExpressionModifier and TypeMethodDescriptionvoid
Env.configure
(AviatorEvaluatorInstance instance, Expression exp, long startNs, Env.IntCounter checkPoints) void
Env.setExpression
(Expression expression)