public class ReturnBlock extends Object implements Block
Block.Noop| Constructor and Description |
|---|
ReturnBlock(Block exp) |
| 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.
|
public ReturnBlock(Block exp)
public 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.