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