Package com.googlecode.aviator
Class LiteralExpression
java.lang.Object
com.googlecode.aviator.BaseExpression
com.googlecode.aviator.LiteralExpression
- All Implemented Interfaces:
Expression,Serializable
A literal expression with a fixed result
- Author:
- dennis
- See Also:
-
Field Summary
Fields inherited from class com.googlecode.aviator.BaseExpression
FUNC_PARAMS_VAR, instance, lambdaBootstraps, sourceFile, symbolTable, varFullNames, varNames -
Constructor Summary
ConstructorsConstructorDescriptionLiteralExpression(AviatorEvaluatorInstance instance, Object result, List<VariableMeta> vars) -
Method Summary
Methods inherited from class com.googlecode.aviator.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
-
LiteralExpression
-
-
Method Details
-
executeDirectly
- Specified by:
executeDirectlyin classBaseExpression
-
toString
-