public class CpsCallableInvocation extends Error
CpsCallable.
When we invoke CPS-transformed closure or function, this throwable gets thrown.| Modifier and Type | Field and Description |
|---|---|
List |
arguments |
CpsCallable |
call |
Object |
receiver |
| Constructor and Description |
|---|
CpsCallableInvocation(CpsCallable call,
Object receiver,
Object... arguments) |
| Modifier and Type | Method and Description |
|---|---|
Block |
asBlock()
Creates a
Block that performs this invocation and pass the result to the given Continuation. |
Next |
invoke(Env caller,
SourceLocation loc,
Continuation k) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic final CpsCallable call
public final Object receiver
public final List arguments
public CpsCallableInvocation(CpsCallable call, Object receiver, Object... arguments)
public Next invoke(Env caller, SourceLocation loc, Continuation k)
public Block asBlock()
Block that performs this invocation and pass the result to the given Continuation.Copyright © 2011–2014. All rights reserved.