Class hNode

Class Documentation

class hnode::hNode

Public Types

enum hdlopsEnum

Values:

enumerator hNoop
enumerator hModule
enumerator hPortbindings
enumerator hPortbinding
enumerator hProcesses
enumerator hProcess
enumerator hMethod
enumerator hCStmt
enumerator hPortsigvarlist
enumerator hPortin
enumerator hPortout
enumerator hPortio
enumerator hSenslist
enumerator hSensvar
enumerator hSensedge
enumerator hTypeinfo
enumerator hType
enumerator hTypeField
enumerator hTypedef
enumerator hTypeTemplateParam
enumerator hInt
enumerator hSigdecl
enumerator hVardecl
enumerator hModdecl
enumerator hVarref
enumerator hVarInit
enumerator hSigAssignL
enumerator hSigAssignR
enumerator hVarAssign
enumerator hBinop
enumerator hUnop
enumerator hCondop
enumerator hMethodCall
enumerator hIfStmt
enumerator hForStmt
enumerator hSwitchStmt
enumerator hSwitchCase
enumerator hSwitchDefault
enumerator hWhileStmt
enumerator hReturnStmt
enumerator hLiteral
enumerator hFunction
enumerator hFunctionRetType
enumerator hFunctionParams
enumerator hUnimpl
enumerator hLast

Public Functions

inline hNode(bool lf)
inline hNode(hdlopsEnum h)
inline hNode(string s, hdlopsEnum h)
inline ~hNode()
inline void set(hdlopsEnum h, string s = "")
inline void set(string s = "")
inline string printopc(hdlopsEnum opc)
inline string getname()
inline hdlopsEnum getopc()
inline hdlopsEnum str2hdlopenum(string st)
inline void print(llvm::raw_fd_ostream &modelout, unsigned int indnt = 2)

Public Members

string h_name
hdlopsEnum h_op
list<hNodep> child_list
const string hdlop_pn[hLast + 1] = {"hNoop", "hModule", "hPortbindings", "hPortbinding", "hProcesses", "hProcess", "hMethod", "hCStmt", "hPortsigvarlist", "hPortin", "hPortout", "hPortio", "hSenslist", "hSensvar", "hSensedge", "hTypeinfo", "hType", "hTypeField", "hTypedef", "hTypeTemplateParam", "hInt", "hSigdecl", "hVardecl", "hModdecl", "hVarref", "hVarInit", "hSigAssignL", "hSigAssignR", "hVarAssign", "hBinop", "hUnop", "hCondop", "hMethodCall", "hIfStmt", "hForStmt", "hSwitchStmt", "hSwitchCase", "hSwitchDefault", "hWhileStmt", "hReturnStmt", "hLiteral", "hFunction", "hFunctionRetType", "hFunctionParams", "hUnimpl", "hLast"}