Uses of Interface
com.googlecode.aviator.Expression
-
-
Uses of Expression in com.googlecode.aviator
Classes in com.googlecode.aviator that implement Expression Modifier and Type Class Description class
BaseExpression
Base expressionclass
ClassExpression
Compiled expression,all generated class inherit this classclass
InterpretExpression
class
LiteralExpression
A literal expression with a fixed resultFields in com.googlecode.aviator with type parameters of type Expression Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.concurrent.FutureTask<Expression>>
AviatorEvaluatorInstance. expressionCache
Compiled Expression cacheprivate LRUMap<java.lang.String,java.util.concurrent.FutureTask<Expression>>
AviatorEvaluatorInstance. expressionLRUCache
Methods in com.googlecode.aviator that return Expression Modifier and Type Method Description static Expression
AviatorEvaluator. compile(java.lang.String expression)
Compile a text expression to Expression Object without cachingstatic Expression
AviatorEvaluator. compile(java.lang.String expression, boolean cached)
Compile a text expression to Expression objectstatic Expression
AviatorEvaluator. compile(java.lang.String cacheKey, java.lang.String expression, boolean cached)
Compile a text expression to Expression object and cache it with the specified cache keyExpression
AviatorEvaluatorInstance. compile(java.lang.String expression)
Compile a text expression to Expression Object without cachingExpression
AviatorEvaluatorInstance. compile(java.lang.String expression, boolean cached)
Compile a text expression to Expression objectExpression
AviatorEvaluatorInstance. compile(java.lang.String cacheKey, java.lang.String expression, boolean cached)
Compile a text expression to Expression objectprivate Expression
AviatorEvaluatorInstance. compile(java.lang.String cacheKey, java.lang.String expression, java.lang.String sourceFile, boolean cached)
Expression
AviatorEvaluatorInstance. compileScript(java.lang.String path)
Compile a script file into expression, it doesn't cache the compiled result.Expression
AviatorEvaluatorInstance. compileScript(java.lang.String path, boolean cached)
Compile a script file into expression.Expression
AviatorEvaluatorInstance. compileScript(java.lang.String cacheKey, java.io.File file, boolean cached)
Compile a script into expression.static Expression
AviatorEvaluator. getCachedExpression(java.lang.String expression)
Returns a compiled expression in cacheExpression
AviatorEvaluatorInstance. getCachedExpression(java.lang.String expression)
Returns a compiled expression in cacheExpression
AviatorEvaluatorInstance. getCachedExpressionByKey(java.lang.String cacheKey)
Returns a compiled expression in cache by cacheKey.private Expression
AviatorEvaluatorInstance. getCompiledExpression(java.lang.String cacheKey, java.util.concurrent.FutureTask<Expression> task)
private Expression
AviatorEvaluatorInstance. innerCompile(java.lang.String expression, java.lang.String sourceFile, boolean cached)
Methods in com.googlecode.aviator that return types with arguments of type Expression Modifier and Type Method Description private java.util.concurrent.FutureTask<Expression>
AviatorEvaluatorInstance. newCompileTask(java.lang.String expression, java.lang.String sourceFile, boolean cached)
Methods in com.googlecode.aviator with parameters of type Expression Modifier and Type Method Description void
EnvProcessor. afterExecute(java.util.Map<java.lang.String,java.lang.Object> env, Expression script)
This method will be called after executing the expression.void
EnvProcessor. beforeExecute(java.util.Map<java.lang.String,java.lang.Object> env, Expression script)
This method will be called before executing the expression.private java.util.Map<java.lang.String,java.lang.Object>
AviatorEvaluatorInstance. executeModule(Expression exp, java.lang.String abPath)
private static java.util.Map<java.lang.String,java.lang.Object>
Main. newEnv(Expression exp, java.lang.String abPath, java.lang.String[] args)
Method parameters in com.googlecode.aviator with type arguments of type Expression Modifier and Type Method Description private Expression
AviatorEvaluatorInstance. getCompiledExpression(java.lang.String cacheKey, java.util.concurrent.FutureTask<Expression> task)
-
Uses of Expression in com.googlecode.aviator.code
Methods in com.googlecode.aviator.code that return Expression Modifier and Type Method Description Expression
CodeGenerator. getResult(boolean unboxObject)
Expression
LambdaGenerator. getResult(boolean unboxObject)
Expression
NoneCodeGenerator. getResult(boolean unboxObject)
Expression
OptimizeCodeGenerator. getResult(boolean unboxObject)
-
Uses of Expression in com.googlecode.aviator.code.asm
Methods in com.googlecode.aviator.code.asm that return Expression Modifier and Type Method Description Expression
ASMCodeGenerator. getResult(boolean unboxObject)
-
Uses of Expression in com.googlecode.aviator.code.interpreter
Methods in com.googlecode.aviator.code.interpreter that return Expression Modifier and Type Method Description Expression
InterpretCodeGenerator. getResult(boolean unboxObject)
-
Uses of Expression in com.googlecode.aviator.parser
Methods in com.googlecode.aviator.parser that return Expression Modifier and Type Method Description Expression
ExpressionParser. parse()
Expression
ExpressionParser. parse(boolean reportErrorIfNotEOF)
-
Uses of Expression in com.googlecode.aviator.runtime
Methods in com.googlecode.aviator.runtime that return Expression Modifier and Type Method Description Expression
LambdaFunctionBootstrap. getExpression()
Constructors in com.googlecode.aviator.runtime with parameters of type Expression Constructor Description LambdaFunctionBootstrap(java.lang.String name, Expression expression, java.util.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 Expression Constructor Description LambdaFunction(java.lang.String name, java.util.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 Expression Modifier and Type Field Description (package private) Expression
ExpressionSegment. exp
Constructors in com.googlecode.aviator.runtime.type.string with parameters of type Expression Constructor Description ExpressionSegment(Expression exp)
-
Uses of Expression in com.googlecode.aviator.script
Fields in com.googlecode.aviator.script declared as Expression Modifier and Type Field Description private Expression
CompiledAviatorScript. expression
Methods in com.googlecode.aviator.script with parameters of type Expression Modifier and Type Method Description void
AviatorBindings. setExpression(Expression exp)
Constructors in com.googlecode.aviator.script with parameters of type Expression Constructor Description CompiledAviatorScript(AviatorScriptEngine engine, Expression expression)
-
Uses of Expression in com.googlecode.aviator.utils
Fields in com.googlecode.aviator.utils declared as Expression Modifier and Type Field Description private Expression
Env. expression
Methods in com.googlecode.aviator.utils that return Expression Modifier and Type Method Description Expression
Env. getExpression()
Methods in com.googlecode.aviator.utils with parameters of type Expression Modifier and Type Method Description void
Env. configure(AviatorEvaluatorInstance instance, Expression exp, long startNs, Env.IntCounter checkPoints)
void
Env. setExpression(Expression expression)
-