public abstract class LValueBlock extends Object implements Block
Block that can come to the left hand side of an assignment, aka "l-value"
Subtypes implement evalLValue(Env, Continuation) that computes LValue object,
which provides read/write access.Block.Noop| Constructor and Description |
|---|
LValueBlock() |
| Modifier and Type | Method and Description |
|---|---|
Block |
asLValue()
|
Next |
eval(Env e,
Continuation k)
Evaluates to the value.
|
protected abstract Next |
evalLValue(Env e,
Continuation k)
Evaluate the block as
LValue and pass it to Continuation when done. |
public final Next eval(Env e, Continuation k)
protected abstract Next evalLValue(Env e, Continuation k)
LValue and pass it to Continuation when done.
LValue can then be used to set the value.
public final Block asLValue()
Copyright © 2011–2019. All rights reserved.