#include <PortBinding.h>
Definition at line 12 of file PortBinding.h.
◆ ArraySubscriptsExprType
◆ PortBinding()
systemc_clang::PortBinding::PortBinding |
( |
clang::Expr * | caller_expr, |
|
|
clang::Expr * | caller_port_expr, |
|
|
clang::MemberExpr * | caller_port_me_expr, |
|
|
clang::Expr * | callee_expr, |
|
|
clang::MemberExpr * | callee_port_me_expr ) |
|
inline |
Constructor that records the port binding.
- Parameters
-
caller_expr | provides access to the caller information irrespective of whether it is an array or not. |
caller_port_expr | provides access to the caller's port. |
Cast to see if it's an array.
If it is an array.
Definition at line 230 of file PortBinding.h.
◆ dump()
void systemc_clang::PortBinding::dump |
( |
| ) |
|
|
inline |
Dumps to llvm::outs() the recorded port binding information.
Definition at line 170 of file PortBinding.h.
◆ getCalleeArraySubscripts()
◆ getCalleeInstanceName()
const std::string systemc_clang::PortBinding::getCalleeInstanceName |
( |
| ) |
const |
|
inline |
◆ getCalleePortName()
const std::string systemc_clang::PortBinding::getCalleePortName |
( |
| ) |
const |
|
inline |
◆ getCallerArraySubscripts()
◆ getCallerInstanceName()
const std::string systemc_clang::PortBinding::getCallerInstanceName |
( |
| ) |
const |
|
inline |
◆ getCallerInstanceTypeName()
const std::string systemc_clang::PortBinding::getCallerInstanceTypeName |
( |
| ) |
const |
|
inline |
◆ getCallerMemberExpr()
const clang::MemberExpr * systemc_clang::PortBinding::getCallerMemberExpr |
( |
| ) |
const |
|
inline |
◆ getCallerPortArraySubscripts()
◆ getCallerPortName()
const std::string systemc_clang::PortBinding::getCallerPortName |
( |
| ) |
const |
|
inline |
◆ getInstanceConstructorName()
const std::string & systemc_clang::PortBinding::getInstanceConstructorName |
( |
| ) |
const |
|
inline |
◆ getInstanceType()
const std::string & systemc_clang::PortBinding::getInstanceType |
( |
| ) |
const |
|
inline |
◆ getInstanceTypeDecl()
const clang::CXXRecordDecl * systemc_clang::PortBinding::getInstanceTypeDecl |
( |
| ) |
const |
|
inline |
◆ getInstanceVarName()
const std::string & systemc_clang::PortBinding::getInstanceVarName |
( |
| ) |
const |
|
inline |
◆ getPortName()
const std::string & systemc_clang::PortBinding::getPortName |
( |
| ) |
const |
|
inline |
◆ setInstanceConstructorName()
void systemc_clang::PortBinding::setInstanceConstructorName |
( |
const std::string & | name | ) |
|
|
inline |
◆ setInstanceVarName()
void systemc_clang::PortBinding::setInstanceVarName |
( |
const std::string & | name | ) |
|
|
inline |
◆ toString()
const std::string systemc_clang::PortBinding::toString |
( |
| ) |
const |
|
inline |
Convert the port binding information into a single string.
This is mainly used in the regression tests. The returned string is compared with what is expected.
Caller port name
Definition at line 101 of file PortBinding.h.
◆ callee_array_expr_
const clang::ArraySubscriptExpr* systemc_clang::PortBinding::callee_array_expr_ |
|
private |
◆ callee_array_subscripts_
◆ callee_expr_
const clang::Expr* systemc_clang::PortBinding::callee_expr_ |
|
private |
◆ callee_instance_me_expr_
const clang::MemberExpr* systemc_clang::PortBinding::callee_instance_me_expr_ |
|
private |
◆ callee_instance_name_
std::string systemc_clang::PortBinding::callee_instance_name_ |
|
private |
◆ callee_port_me_expr_
const clang::MemberExpr* systemc_clang::PortBinding::callee_port_me_expr_ |
|
private |
◆ callee_port_name_
std::string systemc_clang::PortBinding::callee_port_name_ |
|
private |
◆ callee_type_name_
std::string systemc_clang::PortBinding::callee_type_name_ |
|
private |
◆ caller_array_expr_
const clang::ArraySubscriptExpr* systemc_clang::PortBinding::caller_array_expr_ |
|
private |
◆ caller_array_subscripts_
◆ caller_expr_
const clang::Expr* systemc_clang::PortBinding::caller_expr_ |
|
private |
◆ caller_instance_me_expr_
const clang::MemberExpr* systemc_clang::PortBinding::caller_instance_me_expr_ |
|
private |
◆ caller_instance_name_
std::string systemc_clang::PortBinding::caller_instance_name_ |
|
private |
We no longer support sc_main parsing.
Definition at line 37 of file PortBinding.h.
◆ caller_instance_type_name_
std::string systemc_clang::PortBinding::caller_instance_type_name_ |
|
private |
◆ caller_port_array_expr_
const clang::Expr* systemc_clang::PortBinding::caller_port_array_expr_ |
|
private |
◆ caller_port_array_subscripts_
◆ caller_port_me_expr_
const clang::MemberExpr* systemc_clang::PortBinding::caller_port_me_expr_ |
|
private |
◆ caller_port_name_
std::string systemc_clang::PortBinding::caller_port_name_ |
|
private |
◆ instance_constructor_name_
std::string systemc_clang::PortBinding::instance_constructor_name_ |
|
private |
◆ instance_type_
std::string systemc_clang::PortBinding::instance_type_ |
|
private |
◆ instance_type_decl_
const clang::CXXRecordDecl* systemc_clang::PortBinding::instance_type_decl_ |
|
private |
◆ instance_var_name_
std::string systemc_clang::PortBinding::instance_var_name_ |
|
private |
The documentation for this class was generated from the following file: