public class ArrayAccessBlock extends LValueBlock
x[3] or x['foo']Block.Noop| Constructor and Description |
|---|
ArrayAccessBlock(SourceLocation loc,
Collection<CallSiteTag> tags,
Block lhs,
Block property) |
| Modifier and Type | Method and Description |
|---|---|
Next |
evalLValue(Env e,
Continuation k)
Evaluate the block as
LValue and pass it to Continuation when done. |
Collection<CallSiteTag> |
getTags()
Tags associated with this call site.
|
protected Object |
rawGet(Env e,
Object lhs,
Object index) |
protected void |
rawSet(Env e,
Object lhs,
Object index,
Object v) |
asLValue, evalpublic ArrayAccessBlock(SourceLocation loc, Collection<CallSiteTag> tags, Block lhs, Block property)
protected void rawSet(Env e, Object lhs, Object index, Object v) throws Throwable
Throwable@Nonnull public Collection<CallSiteTag> getTags()
CallSiteBlockgetTags in interface CallSiteBlockpublic Next evalLValue(Env e, Continuation k)
LValueBlockLValue and pass it to Continuation when done.
LValue can then be used to set the value.
evalLValue in class LValueBlockCopyright © 2011–2019. All rights reserved.