public class OperationExpressionHolder extends AbstractClosureHolder
FunctionExpression to ClosureHolder adapter. This adapter does not support
handles.| Constructor and Description |
|---|
OperationExpressionHolder(String id,
Namespace namespace,
ClosureType type,
SignatureExpression expr,
ClosureOrigin origin)
Creates new instance of
OperationExpressionHolder. |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments)
Executes this closure with given arguments.
|
ClosureOrigin |
getClosureOrigin() |
String |
getExpressionString()
Returns a string representation of this closure holder expression.
|
String |
getId()
Returns the id of the holder if present.
|
ClosureType |
getType()
Returns the type of the holder.
|
String |
toString() |
execute, execute, execute, getNamespace, getNotCompiledValuepublic OperationExpressionHolder(String id, Namespace namespace, ClosureType type, SignatureExpression expr, ClosureOrigin origin)
OperationExpressionHolder.id - namespace - type - expr - origin - NullPointerException - if namespace or type or expr is nullpublic String getId()
ValueHolderpublic Object execute(InterpreterConfiguration configuration, InterpreterStackTrace stackTrace, Object... arguments) throws ErrorException
ClosureHolderconfiguration - configuration to apply while interpreting closurestackTrace - a stack traceErrorExceptionpublic ClosureType getType()
ValueHolderpublic String getExpressionString()
ClosureHolderpublic ClosureOrigin getClosureOrigin()
nullCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.