#include <object.h>
Definition at line 12105 of file object.h.
◆ Iterator()
dart::Map::Iterator::Iterator |
( |
const Map & |
map | ) |
|
|
inlineexplicit |
Definition at line 12107 of file object.h.
12110 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 12127 of file object.h.
12127{
return data_.
At(offset_); }
ObjectPtr At(intptr_t index) const
◆ CurrentValue()
ObjectPtr dart::Map::Iterator::CurrentValue |
( |
| ) |
const |
|
inline |
Definition at line 12129 of file object.h.
12129{
return data_.
At(offset_ + 1); }
◆ MoveNext()
bool dart::Map::Iterator::MoveNext |
( |
| ) |
|
|
inline |
Definition at line 12113 of file object.h.
12113 {
12114 while (true) {
12115 offset_ += 2;
12116 if (offset_ >= length_) {
12117 return false;
12118 }
12119 scratch_ = data_.
At(offset_);
12120 if (scratch_.
ptr() != data_.
ptr()) {
12121
12122 return true;
12123 }
12124 }
12125 }
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/runtime/vm/object.h