public interface ExprDef
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCacheKey(java.lang.String exprStr)
The key to be used for caching compiled expression instances.
|
java.lang.String |
getExpressionSource()
The source string of the expression.
|
java.lang.String |
getExprIdentifier()
A unique identfier for the expression.
|
OwnerType |
getOwnerType()
Returns the type of object that owners the expression class.
|
java.lang.String |
getScriptClassName(java.lang.String exprStr)
Returns the name used for the expression class.
|
ExprEval.TrustMode |
getTrustMode()
The trust mode for the expression.
|
ExprEval.TypeCheckedMode |
getTypeCheckedMode()
Returns whether the expresion should be type checked when type checking
is enabled for the groovy compiler.
|
boolean |
hasReturn()
If the expression has a return value.
|
boolean |
isOperationsExpression()
If the expression defines operations.
|
java.lang.String getExpressionSource()
ExprEval.TrustMode getTrustMode()
boolean hasReturn()
java.lang.String getExprIdentifier()
java.lang.String getCacheKey(java.lang.String exprStr)
boolean isOperationsExpression()
java.lang.String getScriptClassName(java.lang.String exprStr)
ExprEval.TypeCheckedMode getTypeCheckedMode()
OwnerType getOwnerType()