public abstract class AbstractClosureHolder extends Object implements ClosureHolder
| Constructor and Description |
|---|
AbstractClosureHolder(Namespace namespace) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(InterpreterConfiguration configuration,
Object... args)
Executes this closure with given arguments.
|
Object |
execute(InterpreterStackTrace stackTrace,
Object... args)
Executes this closure with given arguments.
|
Object |
execute(Object... args)
Executes this closure with given arguments.
|
Namespace |
getNamespace()
Returns the namespace where the closure is declared.
|
ValueHolder |
getNotCompiledValue() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getClosureOrigin, getExpressionString, getTypegetIdpublic AbstractClosureHolder(Namespace namespace)
public final Object execute(Object... args) throws ErrorException
ClosureHolderexecute in interface ClosureHolderErrorExceptionpublic final Object execute(InterpreterStackTrace stackTrace, Object... args) throws ErrorException
ClosureHolderexecute in interface ClosureHolderstackTrace - a stack traceErrorExceptionpublic final Object execute(InterpreterConfiguration configuration, Object... args) throws ErrorException
ClosureHolderexecute in interface ClosureHolderconfiguration - configuration to apply while interpreting closureErrorExceptionpublic Namespace getNamespace()
ClosureHoldergetNamespace in interface ClosureHolderpublic ValueHolder getNotCompiledValue()
getNotCompiledValue in interface ValueHolderCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.