systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
NotifyContainer.h
Go to the documentation of this file.
1#ifndef _NOTIFY_CONTAINER_H_
2#define _NOTIFY_CONTAINER_H_
3
4#include "clang/AST/DeclCXX.h"
5#include "clang/AST/PrettyPrinter.h"
6#include "llvm/Support/raw_ostream.h"
7#include <map>
8#include <string>
9
10namespace systemc_clang {
11using namespace clang;
12using namespace std;
13
15public:
16 // typedefs
17 typedef vector<string> waitArgVectorType;
18
20 NotifyContainer(CXXMethodDecl *, CallExpr *);
21
23
24 // Copy constructor.
26
27 unsigned int getNumArgs();
28 CXXMethodDecl *getEntryMethod();
29 CallExpr *getASTNode();
31
32 void dump(raw_ostream &, int tabn = 0);
33
34private:
35 void populateArgMap();
36 string getArgString(Expr *e);
37
38private:
39 CXXMethodDecl *_entryMethodDecl;
40 CallExpr *_astNode;
41 unsigned int _numArgs;
42
44};
45} // namespace systemc_clang
46#endif
void dump(raw_ostream &, int tabn=0)
Clang forward declarations.
Definition FindArgument.h:6