GCC Middle and Back End API Reference
tree_stmt_iterator Struct Reference

#include <tree-iterator.h>

Public Member Functions

bool operator== (tree_stmt_iterator b) const
 
bool operator!= (tree_stmt_iterator b) const
 
tree_stmt_iteratoroperator++ ()
 
tree_stmt_iteratoroperator-- ()
 
tree_stmt_iterator operator++ (int)
 
tree_stmt_iterator operator-- (int)
 
treeoperator* ()
 
tree operator* () const
 

Data Fields

struct tree_statement_list_nodeptr
 
tree container
 

Detailed Description

Iterator routines for manipulating GENERIC tree statement list. -*- C++ -*-
   Copyright (C) 2003-2024 Free Software Foundation, Inc.
   Contributed by Andrew MacLeod  <amacleod@redhat.com>

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.

GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   
This file is dependent upon the implementation of tree's. It provides an
abstract interface to the tree objects such that if all tree creation and
manipulations are done through this interface, we can easily change the
implementation of tree's, and not impact other code.   
Iterator object for GENERIC or GIMPLE TREE statements.   

Member Function Documentation

◆ operator!=()

bool tree_stmt_iterator::operator!= ( tree_stmt_iterator b) const
inline

References b.

◆ operator*() [1/2]

tree & tree_stmt_iterator::operator* ( )
inline

References ptr.

◆ operator*() [2/2]

tree tree_stmt_iterator::operator* ( ) const
inline

References ptr.

◆ operator++() [1/2]

tree_stmt_iterator & tree_stmt_iterator::operator++ ( )
inline

References ptr.

◆ operator++() [2/2]

tree_stmt_iterator tree_stmt_iterator::operator++ ( int )
inline

◆ operator--() [1/2]

tree_stmt_iterator & tree_stmt_iterator::operator-- ( )
inline

References ptr.

◆ operator--() [2/2]

tree_stmt_iterator tree_stmt_iterator::operator-- ( int )
inline

◆ operator==()

bool tree_stmt_iterator::operator== ( tree_stmt_iterator b) const
inline

References b, container, and ptr.

Field Documentation

◆ container

tree tree_stmt_iterator::container

Referenced by operator==().

◆ ptr


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