Rose2xaif
|
#include <DumpAsDot.hpp>
Public Member Functions | |
DumpAsDot () | |
~DumpAsDot () | |
int | doIt (SgNode *topNode, const std::string &fileBaseName) |
int | doIt (const std::string &fileBaseName) |
Static Private Attributes | |
static const unsigned short | ourMaxNodeCount =2000 |
Definition at line 7 of file DumpAsDot.hpp.
|
inline |
Definition at line 9 of file DumpAsDot.hpp.
|
inline |
Definition at line 10 of file DumpAsDot.hpp.
int rose2xaif::DumpAsDot::doIt | ( | SgNode * | topNode, |
const std::string & | fileBaseName | ||
) |
topNode | the top node in the Rose AST to be dumped |
fileBaseName | the name of the file to be created suffixed with ".dot" |
Definition at line 53 of file DumpAsDot.cpp.
References THROW_LOGICEXCEPTION_MACRO.
Referenced by main(), rose2xaif::SgXAIF::parseAndPostProcessXAIF(), and rose2xaif::SgXAIF::unparseAndCreateOutput().
int rose2xaif::DumpAsDot::doIt | ( | const std::string & | fileBaseName) |
dot representation of all nodes in the Rose memory pool
topNode | the top node in the Rose AST to be dumped |
fileBaseName | the name of the file to be created suffixed with ".dot" |
Definition at line 77 of file DumpAsDot.cpp.
References THROW_LOGICEXCEPTION_MACRO.
|
staticprivate |
max number of nodes to be handled
Definition at line 28 of file DumpAsDot.hpp.