ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AstSuccessorsSelectors.h
Go to the documentation of this file.
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 
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