ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ast::iterator Class Reference

#include <Ast.h>

Collaboration diagram for Ast::iterator:

Public Member Functions

 iterator ()
 
bool operator== (const iterator &x) const
 
bool operator!= (const iterator &x) const
 
reference operator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 

Protected Member Functions

 iterator (SgNode *x)
 

Protected Attributes

SgNodenode
 
SgNodestartNode
 

Private Member Functions

SgNodefindNextNode (SgNode *p)
 

Friends

class Ast
 

Detailed Description

Definition at line 32 of file Ast.h.

Constructor & Destructor Documentation

Ast::iterator::iterator ( SgNode x)
inlineprotected

Definition at line 41 of file Ast.h.

Ast::iterator::iterator ( )
inline

Definition at line 44 of file Ast.h.

Member Function Documentation

SgNode* Ast::iterator::findNextNode ( SgNode p)
private
bool Ast::iterator::operator== ( const iterator x) const
inline

Definition at line 45 of file Ast.h.

References node.

bool Ast::iterator::operator!= ( const iterator x) const
inline

Definition at line 46 of file Ast.h.

References node.

reference Ast::iterator::operator* ( ) const
inline

Definition at line 47 of file Ast.h.

References node.

iterator& Ast::iterator::operator++ ( )
iterator Ast::iterator::operator++ ( int  )
inline

Definition at line 49 of file Ast.h.

Friends And Related Function Documentation

friend class Ast
friend

Definition at line 34 of file Ast.h.

Member Data Documentation

SgNode* Ast::iterator::node
protected

Definition at line 39 of file Ast.h.

Referenced by operator!=(), operator*(), and operator==().

SgNode* Ast::iterator::startNode
protected

Definition at line 40 of file Ast.h.


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