Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::Environment::DeepIterator Class Reference

#include <il.h>

Inheritance diagram for dart::Environment::DeepIterator:
dart::ValueObject

Public Member Functions

 DeepIterator (Environment *environment)
 
void Advance ()
 
bool Done () const
 
ValueCurrentValue () const
 
void SetCurrentValue (Value *value)
 
Location CurrentLocation () const
 
void SetCurrentLocation (Location loc)
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 11552 of file il.h.

Constructor & Destructor Documentation

◆ DeepIterator()

dart::Environment::DeepIterator::DeepIterator ( Environment environment)
inlineexplicit

Definition at line 11554 of file il.h.

11554 : iterator_(environment) {
11555 SkipDone();
11556 }

Member Function Documentation

◆ Advance()

void dart::Environment::DeepIterator::Advance ( )
inline

Definition at line 11558 of file il.h.

11558 {
11559 ASSERT(!Done());
11560 iterator_.Advance();
11561 SkipDone();
11562 }
#define ASSERT(E)

◆ CurrentLocation()

Location dart::Environment::DeepIterator::CurrentLocation ( ) const
inline

Definition at line 11576 of file il.h.

11576 {
11577 ASSERT(!Done());
11578 return iterator_.CurrentLocation();
11579 }
Location CurrentLocation() const
Definition il.h:11535

◆ CurrentValue()

Value * dart::Environment::DeepIterator::CurrentValue ( ) const
inline

Definition at line 11566 of file il.h.

11566 {
11567 ASSERT(!Done());
11568 return iterator_.CurrentValue();
11569 }
Value * CurrentValue() const
Definition il.h:11523

◆ Done()

bool dart::Environment::DeepIterator::Done ( ) const
inline

Definition at line 11564 of file il.h.

11564{ return iterator_.environment() == nullptr; }
Environment * environment() const
Definition il.h:11512

◆ SetCurrentLocation()

void dart::Environment::DeepIterator::SetCurrentLocation ( Location  loc)
inline

Definition at line 11581 of file il.h.

11581 {
11582 ASSERT(!Done());
11583 iterator_.SetCurrentLocation(loc);
11584 }
void SetCurrentLocation(Location loc)
Definition il.h:11540

◆ SetCurrentValue()

void dart::Environment::DeepIterator::SetCurrentValue ( Value value)
inline

Definition at line 11571 of file il.h.

11571 {
11572 ASSERT(!Done());
11573 iterator_.SetCurrentValue(value);
11574 }
void SetCurrentValue(Value *value)
Definition il.h:11529

The documentation for this class was generated from the following file: