public class MethodPointerBlock extends Object implements CallSiteBlock
LHS&.methodNameBlock.Noop| Constructor and Description |
|---|
MethodPointerBlock(SourceLocation loc,
Block lhsExp,
Block methodNameExp,
Collection<CallSiteTag> tags) |
| Modifier and Type | Method and Description |
|---|---|
Next |
eval(Env e,
Continuation k)
Executes this expression, then pass the result to the given continuation when it's available.
|
Collection<CallSiteTag> |
getTags()
Tags associated with this call site.
|
public MethodPointerBlock(SourceLocation loc, Block lhsExp, Block methodNameExp, Collection<CallSiteTag> tags)
@Nonnull public Collection<CallSiteTag> getTags()
CallSiteBlockgetTags in interface CallSiteBlockpublic Next eval(Env e, Continuation k)
Block
To be more precise, this method does not evaluate the expression by itself synchronously.
Instead, the evaluation is done by the caller by repeatedly step executing
the resulting Next object.
Copyright © 2011–2019. All rights reserved.