public class EvaluateExprCompileContextImpl extends AbstractCompileContext
| Modifier and Type | Method and Description | 
|---|---|
| static ExprCompileContext | buildCompileContext(ExprEval exprEval,
                   java.lang.Object source) | 
| boolean | canTypeCheck()Returns whether this compile context can be used for type checking. | 
| ExprDef | getExprDef()Return the definition of the expressio that is compiling. | 
| groovy.lang.Script | getGlobalScript()Return the global script instance defined by this compile context. | 
| java.lang.String | getNewValueType()In validator contexts this returns the type of the new attribute
 or row. | 
| java.lang.String | getOldValueType()In validator contexts this returns the type of the new attribute
 or row. | 
| groovy.lang.Script | getOperationsScript()Return the operations script for the current compile context. | 
| java.lang.String | getSourceAttributeType(java.lang.String name)Return the source attribute type. | 
| java.lang.String | getSourceMethodReturnType(java.lang.String name,
                         java.lang.String... argtypes)Return the return type of a source method. | 
| java.lang.String | getSourcePropertyType(java.lang.String name)Return the source property type. | 
| java.lang.String | getSourceType()Return the source type of the current compile context. | 
classesFor, classFor, getMethodReturnType, getPropertyType, getReturnType, getReturnType, getVariableType, isAssignableFrom, setNestedContextgetProperty, getVariable, getVariables, hasVariable, setProperty, setVariablepublic static ExprCompileContext buildCompileContext(ExprEval exprEval, java.lang.Object source)
public ExprDef getExprDef()
ExprCompileContextgetExprDef in interface ExprCompileContextgetExprDef in class AbstractCompileContextpublic boolean canTypeCheck()
ExprCompileContextcanTypeCheck in interface ExprCompileContextcanTypeCheck in class AbstractCompileContextpublic groovy.lang.Script getOperationsScript()
AbstractCompileContextgetOperationsScript in class AbstractCompileContextpublic groovy.lang.Script getGlobalScript()
ExprCompileContextgetGlobalScript in interface ExprCompileContextgetGlobalScript in class AbstractCompileContextpublic java.lang.String getSourceType()
AbstractCompileContextgetSourceType in class AbstractCompileContextpublic java.lang.String getSourceAttributeType(java.lang.String name)
AbstractCompileContextgetSourceAttributeType in class AbstractCompileContextpublic java.lang.String getSourcePropertyType(java.lang.String name)
AbstractCompileContextgetSourcePropertyType in class AbstractCompileContextpublic java.lang.String getSourceMethodReturnType(java.lang.String name,
                                         java.lang.String... argtypes)
AbstractCompileContextgetSourceMethodReturnType in class AbstractCompileContextpublic java.lang.String getNewValueType()
AbstractCompileContextgetNewValueType in class AbstractCompileContextpublic java.lang.String getOldValueType()
AbstractCompileContextgetOldValueType in class AbstractCompileContext