systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
sc_ast_matchers::ResetMatcher Class Reference

#include <ResetMatcher.h>

Inheritance diagram for sc_ast_matchers::ResetMatcher:
Inheritance graph
[legend]
Collaboration diagram for sc_ast_matchers::ResetMatcher:
Collaboration graph
[legend]

Public Member Functions

std::pair< std::string, const clang::Expr * > getResetSignal () const
 
std::pair< std::string, const clang::Expr * > getResetEdge () const
 
bool getResetType () const
 
void registerMatchers (MatchFinder &finder, clang::MemberExpr *process_expr)
 
virtual void run (const MatchFinder::MatchResult &result)
 
void dump ()
 

Private Attributes

std::pair< std::string, const clang::Expr * > reset_signal_
 
std::pair< std::string, const clang::Expr * > edge_
 
bool reset_async_
 

Detailed Description

Definition at line 16 of file ResetMatcher.h.

Member Function Documentation

◆ dump()

void sc_ast_matchers::ResetMatcher::dump ( )
inline

Definition at line 121 of file ResetMatcher.h.

◆ getResetEdge()

std::pair< std::string, const clang::Expr * > sc_ast_matchers::ResetMatcher::getResetEdge ( ) const
inline

Definition at line 26 of file ResetMatcher.h.

◆ getResetSignal()

std::pair< std::string, const clang::Expr * > sc_ast_matchers::ResetMatcher::getResetSignal ( ) const
inline

Definition at line 23 of file ResetMatcher.h.

◆ getResetType()

bool sc_ast_matchers::ResetMatcher::getResetType ( ) const
inline

Definition at line 29 of file ResetMatcher.h.

◆ registerMatchers()

void sc_ast_matchers::ResetMatcher::registerMatchers ( MatchFinder & finder,
clang::MemberExpr * process_expr )
inline

Get type of process_expr.

Definition at line 32 of file ResetMatcher.h.

◆ run()

virtual void sc_ast_matchers::ResetMatcher::run ( const MatchFinder::MatchResult & result)
inlinevirtual

Two arguments.

Definition at line 66 of file ResetMatcher.h.

Member Data Documentation

◆ edge_

std::pair<std::string, const clang::Expr*> sc_ast_matchers::ResetMatcher::edge_
private

Definition at line 19 of file ResetMatcher.h.

◆ reset_async_

bool sc_ast_matchers::ResetMatcher::reset_async_
private

Definition at line 20 of file ResetMatcher.h.

◆ reset_signal_

std::pair<std::string, const clang::Expr*> sc_ast_matchers::ResetMatcher::reset_signal_
private

Definition at line 18 of file ResetMatcher.h.


The documentation for this class was generated from the following file: