Class InterpretExpression
java.lang.Object
com.googlecode.aviator.BaseExpression
com.googlecode.aviator.InterpretExpression
- All Implemented Interfaces:
Expression, Serializable
- See Also:
-
Field Summary
Fields inherited from class BaseExpression
FUNC_PARAMS_VAR, instance, lambdaBootstraps, sourceFile, symbolTable, varFullNames, varNames -
Constructor Summary
ConstructorsConstructorDescriptionInterpretExpression(AviatorEvaluatorInstance instance, List<VariableMeta> vars, Set<Token<?>> constants, SymbolTable symbolTable, List<IR> instruments, boolean unboxObject) -
Method Summary
Modifier and TypeMethodDescriptionexecuteDirectly(Map<String, Object> env) loadConstant(Token<?> token) voidMethods inherited from class BaseExpression
addSymbol, afterPopulateFullNames, customReadObject, customWriteObject, execute, execute, execute, genTopEnv, getCompileEnv, getExpression, getFullNameMetas, getFunctionNames, getLambdaBootstraps, getSourceFile, getStringSegements, getVariableFullNames, getVariableNames, getVars, newEnv, newEnv, newEnv, newLambda, setCompileEnv, setExpression, setFuncsArgs, setFunctionNames, setInstance, setLambdaBootstraps, setSourceFile
-
Constructor Details
-
InterpretExpression
public InterpretExpression(AviatorEvaluatorInstance instance, List<VariableMeta> vars, Set<Token<?>> constants, SymbolTable symbolTable, List<IR> instruments, boolean unboxObject)
-
-
Method Details
-
loadVar
-
loadConstant
-
printInstruments
public void printInstruments() -
executeDirectly
- Specified by:
executeDirectlyin classBaseExpression
-