systemc-clang 2.0.0
Parsing SystemC constructs
|
#include <hNode.h>
Public Types | |
enum | hdlopsEnum { hNoop , hModule , hModinitblock , hPortbindings , hPortbinding , hProcesses , hProcess , hMethod , hThread , hCStmt , hPortsigvarlist , hPortin , hPortout , hPortio , hSenslist , hSensvar , hSensedge , hTypeinfo , hType , hTypeField , hTypedef , hTypeTemplateParam , hInt , hSigdecl , hVardecl , hVardeclrn , hModdecl , hVarref , hField , hFieldaccess , hVarInit , hVarInitList , hSigAssignL , hSigAssignR , hVarAssign , hBinop , hUnop , hPostfix , hPrefix , hCondop , hMethodCall , hIfStmt , hForStmt , hSwitchStmt , hSwitchCase , hSwitchDefault , hBreak , hContinue , hWhileStmt , hDoStmt , hReturnStmt , hLiteral , hFunction , hThreadFunction , hBuiltinFunction , hFunctionRetType , hFunctionParams , hFunctionParamI , hFunctionParamIO , hFunctionParamRef , hWait , hUnimpl , hLast } |
Public Member Functions | |
hNode (bool lf) | |
hNode (hdlopsEnum h) | |
hNode (string s, hdlopsEnum h) | |
~hNode () | |
void | set (hdlopsEnum h, string s="") |
void | set (string s="") |
void | append (hNodep hnew) |
int | size () |
string | printopc (hdlopsEnum opc) |
string | getname () |
hdlopsEnum | getopc () |
hdlopsEnum | str2hdlopenum (string st) |
void | print (llvm::raw_ostream &modelout=llvm::outs(), unsigned int indnt=2) |
void | dumphcode () |
Public Attributes | |
string | h_name |
hdlopsEnum | h_op |
std::vector< hNodep > | child_list |
const string | hdlop_pn [hLast+1] = { "hNoop", "hModule", "hModinitblock", "hPortbindings", "hPortbinding", "hProcesses", "hProcess", "hMethod", "hThread", "hCStmt", "hPortsigvarlist", "hPortin", "hPortout", "hPortio", "hSenslist", "hSensvar", "hSensedge", "hTypeinfo", "hType", "hTypeField", "hTypedef", "hTypeTemplateParam", "hInt", "hSigdecl", "hVardecl", "hVardeclrn", "hModdecl", "hVarref", "hField", "hFieldaccess", "hVarInit", "hVarInitList", "hSigAssignL", "hSigAssignR", "hVarAssign", "hBinop", "hUnop", "hPostfix", "hPrefix", "hCondop", "hMethodCall", "hIfStmt", "hForStmt", "hSwitchStmt", "hSwitchCase", "hSwitchDefault", "hBreak", "hContinue", "hWhileStmt", "hDoStmt", "hReturnStmt", "hLiteral", "hFunction", "hThreadFunction", "hBuiltinFunction", "hFunctionRetType", "hFunctionParams", "hFunctionParamI", "hFunctionParamIO", "hFunctionParamRef", "hWait", "hUnimpl", "hLast" } |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
hdlopsEnum hnode::hNode::h_op |
const string hnode::hNode::hdlop_pn[hLast+1] = { "hNoop", "hModule", "hModinitblock", "hPortbindings", "hPortbinding", "hProcesses", "hProcess", "hMethod", "hThread", "hCStmt", "hPortsigvarlist", "hPortin", "hPortout", "hPortio", "hSenslist", "hSensvar", "hSensedge", "hTypeinfo", "hType", "hTypeField", "hTypedef", "hTypeTemplateParam", "hInt", "hSigdecl", "hVardecl", "hVardeclrn", "hModdecl", "hVarref", "hField", "hFieldaccess", "hVarInit", "hVarInitList", "hSigAssignL", "hSigAssignR", "hVarAssign", "hBinop", "hUnop", "hPostfix", "hPrefix", "hCondop", "hMethodCall", "hIfStmt", "hForStmt", "hSwitchStmt", "hSwitchCase", "hSwitchDefault", "hBreak", "hContinue", "hWhileStmt", "hDoStmt", "hReturnStmt", "hLiteral", "hFunction", "hThreadFunction", "hBuiltinFunction", "hFunctionRetType", "hFunctionParams", "hFunctionParamI", "hFunctionParamIO", "hFunctionParamRef", "hWait", "hUnimpl", "hLast" } |