systemc-clang 2.0.0
Parsing SystemC constructs
|
#include <hNode.h>
Public Member Functions | |
util () | |
~util () | |
bool | checkNamespace (const FunctionDecl *fd) |
bool | isSCBuiltinType (const string &tstring, const Type *typ=NULL) |
bool | isSCFunc (const string &tstring) |
bool | isTypename (const string &tstring) |
bool | isSCMacro (const std::string &str_in) |
bool | isSCType (const string &tstring, const clang::Type *typ=NULL) |
Static Public Member Functions | |
static void | make_ident (string &nm) |
static bool | isposint (const std::string &str) |
Public Attributes | |
const string | scbuiltintype [numstr] |
int | scbtlen [numstr] |
const set< std::string > | sc_built_in_funcs |
Static Public Attributes | |
static const int | numstr = 8 |
Private Attributes | |
std::unordered_set< const Type * > | types_seen = {} |
The util class provides small utility functions to generate and recognize C++ and SystemC conformant identifiers.
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
const set<std::string> hnode::util::sc_built_in_funcs |
const string hnode::util::scbuiltintype[numstr] |
|
private |