#include <il.h>
Definition at line 11496 of file il.h.
◆ ShallowIterator() [1/2]
dart::Environment::ShallowIterator::ShallowIterator |
( |
Environment * |
environment | ) |
|
|
inlineexplicit |
Definition at line 11498 of file il.h.
Environment * environment() const
◆ ShallowIterator() [2/2]
dart::Environment::ShallowIterator::ShallowIterator |
( |
const ShallowIterator & |
other | ) |
|
|
inline |
Definition at line 11501 of file il.h.
11503 environment_(other.environment_),
11504 index_(other.index_) {}
◆ Advance()
void dart::Environment::ShallowIterator::Advance |
( |
| ) |
|
|
inline |
Definition at line 11514 of file il.h.
11514 {
11516 ++index_;
11517 }
◆ CurrentLocation()
Location dart::Environment::ShallowIterator::CurrentLocation |
( |
| ) |
const |
|
inline |
Definition at line 11535 of file il.h.
11535 {
11537 return environment_->locations_[index_];
11538 }
◆ CurrentValue()
Value * dart::Environment::ShallowIterator::CurrentValue |
( |
| ) |
const |
|
inline |
Definition at line 11523 of file il.h.
11523 {
11525 ASSERT(environment_->values_[index_] !=
nullptr);
11526 return environment_->values_[index_];
11527 }
◆ Done()
bool dart::Environment::ShallowIterator::Done |
( |
| ) |
const |
|
inline |
Definition at line 11519 of file il.h.
11519 {
11520 return (environment_ ==
nullptr) || (index_ >= environment_->
Length());
11521 }
◆ environment()
Environment * dart::Environment::ShallowIterator::environment |
( |
| ) |
const |
|
inline |
Definition at line 11512 of file il.h.
11512{ return environment_; }
◆ operator=()
Definition at line 11506 of file il.h.
11506 {
11507 environment_ = other.environment_;
11508 index_ = other.index_;
11509 return *this;
11510 }
◆ SetCurrentLocation()
void dart::Environment::ShallowIterator::SetCurrentLocation |
( |
Location |
loc | ) |
|
|
inline |
Definition at line 11540 of file il.h.
11540 {
11542 environment_->locations_[index_] = loc;
11543 }
◆ SetCurrentValue()
void dart::Environment::ShallowIterator::SetCurrentValue |
( |
Value * |
value | ) |
|
|
inline |
Definition at line 11529 of file il.h.
11529 {
11531 ASSERT(value !=
nullptr);
11532 environment_->values_[index_] =
value;
11533 }
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/runtime/vm/compiler/backend/il.h