public interface ClosureHolder extends ValueHolder
Modifier and Type | Method and Description |
---|---|
Object |
execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments)
Executes this closure with given arguments.
|
Object |
execute(InterpreterConfiguration configuration,
Object... arguments)
Executes this closure with given arguments.
|
Object |
execute(InterpreterStackTrace stackTrace,
Object... arguments)
Executes this closure with given arguments.
|
Object |
execute(Object... arguments)
Executes this closure with given arguments.
|
ClosureOrigin |
getClosureOrigin() |
String |
getExpressionString()
Returns a string representation of this closure holder expression.
|
Namespace |
getNamespace()
Returns the namespace where the closure is declared.
|
ClosureType |
getType()
Returns the type of the holder.
|
getId, getNotCompiledValueHolder
ClosureType getType()
ValueHolder
getType
in interface ValueHolder
Object execute(Object... arguments) throws ErrorException
arguments
- ErrorException
Object execute(InterpreterConfiguration configuration, Object... arguments) throws ErrorException
configuration
- configuration to apply while interpreting closurearguments
- ErrorException
Object execute(InterpreterStackTrace stackTrace, Object... arguments) throws ErrorException
stackTrace
- a stack tracearguments
- ErrorException
Object execute(InterpreterConfiguration configuration, InterpreterStackTrace stackTrace, Object... arguments) throws ErrorException
configuration
- configuration to apply while interpreting closurestackTrace
- a stack tracearguments
- ErrorException
String getExpressionString()
Namespace getNamespace()
ClosureOrigin getClosureOrigin()
null
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.