FLANG
Public Member Functions | List of all members
Fortran::lower::ComponentReverseIterator Class Reference

#include <flang/Lower/ConvertType.h>

Public Member Functions

 ComponentReverseIterator (const Fortran::semantics::DerivedTypeSpec &derived)
 

(does not look-up the

Does the current type has a component with components of the parent if any)? If there is a match, the iterator is advanced to the search result.

bool lookup (const Fortran::parser::CharBlock &name)
 
const Fortran::semantics::DerivedTypeSpecadvanceToParentType ()
 Advance iterator to the last components of the current type parent.
 

Detailed Description

A helper class to reverse iterate through the component names of a derived type, including the parent component and the component of the parents. This is useful to deal with StructureConstructor lowering.


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