systemc-clang 2.0.0
Parsing SystemC constructs
|
#include <SensitivityMatcher.h>
Public Member Functions | |
CallerCalleeType | getCallerCallee () const |
This returns a list of all the caller and callees that are identified. | |
void | registerMatchers (MatchFinder &finder, clang::VarDecl *vd) |
Register the matchers to identify caller and callees. | |
virtual void | run (const MatchFinder::MatchResult &result) |
This is the callback function when there is a match. | |
void | dump () |
Dump out the caller and callee found in the sensitivity list. | |
Private Types | |
typedef std::vector< std::tuple< std::string, clang::ValueDecl *, clang::MemberExpr *, clang::VarDecl *, clang::ArraySubscriptExpr *, clang::ForStmt * > > | CallerCalleeType |
Private Attributes | |
std::vector< std::tuple< std::string, clang::ValueDecl *, clang::MemberExpr *, clang::VarDecl *, clang::ArraySubscriptExpr *, clang::ForStmt * > > | calls_ |
Store the information. | |
clang::VarDecl * | vd_ |
Class CallerCaleeMatcher
This class identifies for a method call, who is the caller, and who is the callee.
Definition at line 42 of file SensitivityMatcher.h.
|
private |
Definition at line 50 of file SensitivityMatcher.h.
|
inline |
Dump out the caller and callee found in the sensitivity list.
Definition at line 89 of file SensitivityMatcher.h.
|
inline |
This returns a list of all the caller and callees that are identified.
Definition at line 61 of file SensitivityMatcher.h.
|
inline |
Register the matchers to identify caller and callees.
This is the matcher that finds all the member expressions..
Definition at line 64 of file SensitivityMatcher.h.
|
inlinevirtual |
This is the callback function when there is a match.
Definition at line 77 of file SensitivityMatcher.h.
|
private |
Store the information.
Definition at line 55 of file SensitivityMatcher.h.
|
private |
Definition at line 57 of file SensitivityMatcher.h.