#include <object.h>
Definition at line 12131 of file object.h.
◆ Iterator()
dart::Map::Iterator::Iterator |
( |
const Map & |
map | ) |
|
|
inlineexplicit |
Definition at line 12133 of file object.h.
12136 offset_(-2),
SI auto map(std::index_sequence< I... >, Fn &&fn, const Args &... args) -> skvx::Vec< sizeof...(I), decltype(fn(args[0]...))>
◆ CurrentKey()
ObjectPtr dart::Map::Iterator::CurrentKey |
( |
| ) |
const |
|
inline |
Definition at line 12153 of file object.h.
12153{
return data_.
At(offset_); }
ObjectPtr At(intptr_t index) const
◆ CurrentValue()
ObjectPtr dart::Map::Iterator::CurrentValue |
( |
| ) |
const |
|
inline |
Definition at line 12155 of file object.h.
12155{
return data_.
At(offset_ + 1); }
◆ MoveNext()
bool dart::Map::Iterator::MoveNext |
( |
| ) |
|
|
inline |
Definition at line 12139 of file object.h.
12139 {
12140 while (true) {
12141 offset_ += 2;
12142 if (offset_ >= length_) {
12143 return false;
12144 }
12145 scratch_ = data_.
At(offset_);
12146 if (scratch_.
ptr() != data_.
ptr()) {
12147
12148 return true;
12149 }
12150 }
12151 }
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/runtime/vm/object.h