Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
dart::InstructionIndexedPropertyIterable< Trait >::Iterator Struct Reference

#include <il.h>

Public Member Functions

decltype(Trait::At(instr, index)) operator* () const
 
Iteratoroperator++ ()
 
bool operator== (const Iterator &other)
 
bool operator!= (const Iterator &other)
 

Public Attributes

const Instructioninstr
 
intptr_t index
 

Detailed Description

template<typename Trait>
struct dart::InstructionIndexedPropertyIterable< Trait >::Iterator

Definition at line 901 of file il.h.

Member Function Documentation

◆ operator!=()

template<typename Trait >
bool dart::InstructionIndexedPropertyIterable< Trait >::Iterator::operator!= ( const Iterator other)
inline

Definition at line 917 of file il.h.

917{ return !(*this == other); }

◆ operator*()

template<typename Trait >
decltype(Trait::At(instr, index)) dart::InstructionIndexedPropertyIterable< Trait >::Iterator::operator* ( ) const
inline

Definition at line 905 of file il.h.

905 {
906 return Trait::At(instr, index);
907 }

◆ operator++()

template<typename Trait >
Iterator & dart::InstructionIndexedPropertyIterable< Trait >::Iterator::operator++ ( )
inline

Definition at line 908 of file il.h.

908 {
909 index++;
910 return *this;
911 }

◆ operator==()

template<typename Trait >
bool dart::InstructionIndexedPropertyIterable< Trait >::Iterator::operator== ( const Iterator other)
inline

Definition at line 913 of file il.h.

913 {
914 return instr == other.instr && index == other.index;
915 }

Member Data Documentation

◆ index

template<typename Trait >
intptr_t dart::InstructionIndexedPropertyIterable< Trait >::Iterator::index

Definition at line 903 of file il.h.

◆ instr

template<typename Trait >
const Instruction* dart::InstructionIndexedPropertyIterable< Trait >::Iterator::instr

Definition at line 902 of file il.h.


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