ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AstNodePtrs.h
Go to the documentation of this file.
1 // Author: Markus Schordan
2 // $Id: AstNodePtrs.h,v 1.3 2008/01/08 02:56:38 dquinlan Exp $
3 
4 #ifndef ASTNODEPTRS_H
5 #define ASTNODEPTRS_H
6 
7 #include <string>
8 #include <iomanip>
9 #include "AstProcessing.h"
10 
11 // DQ (8/10/2004):
12 // This class appears to return a list of all traversed AST nodes. It is equivalent to the
13 // AstQuery operator with the input variant V_SgNode. Not sure how important this mechanism
14 // is (appears to be used in ASTConsistencyTests.[Ch]).
15 
17  {
19  AstNodePtrSynAttr() { node = NULL; }
20  };
21 
22 class AstNodePtrs : public SgBottomUpProcessing<AstNodePtrSynAttr>
23  {
24  public:
25  AstNodePtrs();
26  ~AstNodePtrs();
27  protected:
28  typedef std::vector<SgNode*> AstNodePointersList;
31  private:
32  };
33 
34 #endif