ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CheckWhichAreMarked.h
Go to the documentation of this file.
1 
2 #ifndef CheckMark_IS_INCLUDED
3 #define CheckMark_IS_INCLUDED
4 
5 
11 
12  protected:
16  void virtual visit(SgNode* node){
17  if(node->attribute.exists("keep")){
18  cout <<"Marked to be kept: "<< node->sage_class_name() <<": " << node->unparseToString() << endl;
19  }
20  else{
21  cout <<"NOT marked to be kept: "<<node->sage_class_name() <<": "<< endl;//node->unparseToString()<<endl;
22  }
23  }
24 
25 };
26 
27 #endif