Package org.mvel2.compiler
Class CompiledExpression
java.lang.Object
org.mvel2.compiler.CompiledExpression
- All Implemented Interfaces:
Serializable,Cloneable,Accessor,ExecutableStatement
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompiledExpression(ASTLinkedList astMap, String sourceName, Class egressType, ParserConfiguration parserConfiguration, boolean literalOnly) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetDirectValue(Object staticContext, VariableResolverFactory factory) getValue(Object ctx, Object elCtx, VariableResolverFactory variableFactory) getValue(Object staticContext, VariableResolverFactory factory) booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetKnownEgressType(Class knownEgressType) voidsetKnownIngressType(Class knownIngressType) setValue(Object ctx, Object elCtx, VariableResolverFactory variableFactory, Object value) toString()
-
Constructor Details
-
CompiledExpression
public CompiledExpression(ASTLinkedList astMap, String sourceName, Class egressType, ParserConfiguration parserConfiguration, boolean literalOnly)
-
-
Method Details
-
getFirstNode
-
isSingleNode
public boolean isSingleNode() -
getKnownEgressType
- Specified by:
getKnownEgressTypein interfaceAccessor- Specified by:
getKnownEgressTypein interfaceExecutableStatement
-
setKnownEgressType
- Specified by:
setKnownEgressTypein interfaceExecutableStatement
-
getKnownIngressType
- Specified by:
getKnownIngressTypein interfaceExecutableStatement
-
setKnownIngressType
- Specified by:
setKnownIngressTypein interfaceExecutableStatement
-
isConvertableIngressEgress
public boolean isConvertableIngressEgress()- Specified by:
isConvertableIngressEgressin interfaceExecutableStatement
-
computeTypeConversionRule
public void computeTypeConversionRule()- Specified by:
computeTypeConversionRulein interfaceExecutableStatement
-
getValue
-
getValue
- Specified by:
getValuein interfaceExecutableStatement
-
getDirectValue
-
intOptimized
public boolean intOptimized()- Specified by:
intOptimizedin interfaceExecutableStatement
-
getParserConfiguration
-
isImportInjectionRequired
public boolean isImportInjectionRequired() -
setValue
public Object setValue(Object ctx, Object elCtx, VariableResolverFactory variableFactory, Object value) -
isLiteralOnly
public boolean isLiteralOnly()- Specified by:
isLiteralOnlyin interfaceExecutableStatement
-
isEmptyStatement
public boolean isEmptyStatement()- Specified by:
isEmptyStatementin interfaceExecutableStatement
-
isExplicitCast
public boolean isExplicitCast()- Specified by:
isExplicitCastin interfaceExecutableStatement
-
toString
-