Flutter Engine
The Flutter Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 11606 of file il.h.

Constructor & Destructor Documentation

◆ DeepIterator()

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

Definition at line 11608 of file il.h.

11608 : iterator_(environment) {
11609 SkipDone();
11610 }
static dart::SimpleHashMap * environment
Definition: gen_snapshot.cc:59

Member Function Documentation

◆ Advance()

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

Definition at line 11612 of file il.h.

11612 {
11613 ASSERT(!Done());
11614 iterator_.Advance();
11615 SkipDone();
11616 }
#define ASSERT(E)

◆ CurrentLocation()

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

Definition at line 11630 of file il.h.

11630 {
11631 ASSERT(!Done());
11632 return iterator_.CurrentLocation();
11633 }
Location CurrentLocation() const
Definition: il.h:11589

◆ CurrentValue()

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

Definition at line 11620 of file il.h.

11620 {
11621 ASSERT(!Done());
11622 return iterator_.CurrentValue();
11623 }
Value * CurrentValue() const
Definition: il.h:11577

◆ Done()

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

Definition at line 11618 of file il.h.

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

◆ SetCurrentLocation()

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

Definition at line 11635 of file il.h.

11635 {
11636 ASSERT(!Done());
11637 iterator_.SetCurrentLocation(loc);
11638 }
void SetCurrentLocation(Location loc)
Definition: il.h:11594

◆ SetCurrentValue()

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

Definition at line 11625 of file il.h.

11625 {
11626 ASSERT(!Done());
11627 iterator_.SetCurrentValue(value);
11628 }
void SetCurrentValue(Value *value)
Definition: il.h:11583
uint8_t value

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