ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InsertPragma.h
Go to the documentation of this file.
1 #ifndef INSERT_IS_DEFINED
2 #define INSERT_IS_DEFINED
3 
4 
5 #include "BasicBlockLocalIndex.h"
6 #include <string>
7 //#include <ASTNodeCollection.h>
8 //#include <midLevelRewriteInterface.h>
9 #include "AstRestructure.h"
10 //#include "highLevelRewriteInterface.h"
11 #include <string.h>
12 
18 
19  public:
20  void virtual visit(SgNode* node);
21  void set_statement(int n){no_statement=n;}
22  void createFunctionDeclaration(SgGlobal* global, list<SgNode*> var_list,
23  SgFunctionDeclaration*& printf_func,
24  SgFunctionDeclaration*& fopen_func,
25  SgFunctionDeclaration*& fclose_func);
26  void createFunctionCallprintf(SgGlobal*& root, SgFunctionDeclaration* printf_func,list<SgNode*> var_list,SgExprStatement*& func_expr);
27  void createFunctionCallfopen(SgGlobal*& root, SgFunctionDeclaration* fopen_func,SgExprStatement*& func_expr);
28  void createFunctionCallfclose(SgGlobal*& root, SgFunctionDeclaration* fclose_func,SgExprStatement*& func_expr);
29 
30  private:
32 };
33 
34 #endif