Variant &Array::lvalAt(CVarRef key, ACCESSPARAMS_IMPL) { if (flags & AccessFlags::Key) return lvalAtImpl(key, flags); VarNR k(key.toKey()); if (!k.isNull()) { return lvalAtImpl(k, flags); } return Variant::lvalBlackHole(); }
Variant &Array::lvalAt(CStrRef key, ACCESSPARAMS_IMPL) { if (flags & AccessFlags::Key) return lvalAtImpl(key, flags); return lvalAtImpl(key.toKey(), flags); }
Variant &Array::lvalAt(litstr key, ACCESSPARAMS_IMPL) { if (flags & AccessFlags::Key) return lvalAtImpl(String(key), flags); return lvalAtImpl(String(key).toKey(), flags); }
StringOffset String::lvalAt(CVarRef key) { return lvalAtImpl(key.toInt32()); }