#include <il.h>
Definition at line 11550 of file il.h.
◆ ShallowIterator() [1/2]
dart::Environment::ShallowIterator::ShallowIterator |
( |
Environment * |
environment | ) |
|
|
inlineexplicit |
Definition at line 11552 of file il.h.
Environment * environment() const
◆ ShallowIterator() [2/2]
dart::Environment::ShallowIterator::ShallowIterator |
( |
const ShallowIterator & |
other | ) |
|
|
inline |
Definition at line 11555 of file il.h.
11557 environment_(other.environment_),
11558 index_(other.index_) {}
◆ Advance()
void dart::Environment::ShallowIterator::Advance |
( |
| ) |
|
|
inline |
Definition at line 11568 of file il.h.
11568 {
11570 ++index_;
11571 }
◆ CurrentLocation()
Location dart::Environment::ShallowIterator::CurrentLocation |
( |
| ) |
const |
|
inline |
Definition at line 11589 of file il.h.
11589 {
11591 return environment_->locations_[index_];
11592 }
◆ CurrentValue()
Value * dart::Environment::ShallowIterator::CurrentValue |
( |
| ) |
const |
|
inline |
Definition at line 11577 of file il.h.
11577 {
11579 ASSERT(environment_->values_[index_] !=
nullptr);
11580 return environment_->values_[index_];
11581 }
◆ Done()
bool dart::Environment::ShallowIterator::Done |
( |
| ) |
const |
|
inline |
Definition at line 11573 of file il.h.
11573 {
11574 return (environment_ ==
nullptr) || (index_ >= environment_->
Length());
11575 }
◆ environment()
Environment * dart::Environment::ShallowIterator::environment |
( |
| ) |
const |
|
inline |
Definition at line 11566 of file il.h.
11566{ return environment_; }
◆ operator=()
Definition at line 11560 of file il.h.
11560 {
11561 environment_ = other.environment_;
11562 index_ = other.index_;
11563 return *this;
11564 }
◆ SetCurrentLocation()
void dart::Environment::ShallowIterator::SetCurrentLocation |
( |
Location |
loc | ) |
|
|
inline |
Definition at line 11594 of file il.h.
11594 {
11596 environment_->locations_[index_] = loc;
11597 }
◆ SetCurrentValue()
void dart::Environment::ShallowIterator::SetCurrentValue |
( |
Value * |
value | ) |
|
|
inline |
Definition at line 11583 of file il.h.
11583 {
11586 environment_->values_[index_] =
value;
11587 }
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/runtime/vm/compiler/backend/il.h