ROSE  0.11.145.0
AstSuccessorsSelectors.h
1 // Author: Markus Schordan
2 // $Id: AstSuccessorsSelectors.h,v 1.2 2008/01/08 02:56:39 dquinlan Exp $
3 
4 #ifndef ASTSUCCESSORSSELECTORS_H
5 #define ASTSUCCESSORSSELECTORS_H
6 
7 class ROSE_DLL_API AstSuccessorsSelectors {
8  public:
9  typedef std::vector<SgNode*> SuccessorsContainer; // type is used in all AstProcessing classes
10 
11  static void selectDefaultSuccessors(SgNode* node, SuccessorsContainer& succContainer);
12  static void selectReversePrefixSuccessors(SgNode* node, SuccessorsContainer& succContainer);
13  static void selectReverseBranchSuccessors(SgNode* node, SuccessorsContainer& succContainer);
14  private:
15  static SgNode* leftSibling(SgNode* node);
16 };
17 
18 //#ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION
19 // #include "AstSuccessorsSelectors.C"
20 //#endif
21 
22 #endif
This class represents the base class for all IR nodes within Sage III.
Definition: Cxx_Grammar.h:9846