Class AstDOTGeneration#
Defined in File AstDOTGeneration.h
Inheritance Relationships#
Base Type#
public DOTGeneration< SgNode * >(Template Class DOTGeneration)
Derived Types#
public AstDOTGenerationExtended< ExtraNodeInfo_t, ExtraNodeOptions_t, ExtraEdgeInfo_t, ExtraEdgeOptions_t >(Template Class AstDOTGenerationExtended)public CustomAstDOTGenerationData(Class CustomAstDOTGenerationData)public CustomAstDOTGenerationData(Class CustomAstDOTGenerationData)
Class Documentation#
-
class AstDOTGeneration : public DOTGeneration<SgNode*>#
Subclassed by AstDOTGenerationExtended< ExtraNodeInfo_t, ExtraNodeOptions_t, ExtraEdgeInfo_t, ExtraEdgeOptions_t >, CustomAstDOTGenerationData, CustomAstDOTGenerationData
Public Functions
-
void generate(SgProject *node, traversalType tt = TOPDOWNBOTTOMUP, std::string filenamePostfix = "")#
-
void generate(SgNode *node, std::string filename, traversalType tt = TOPDOWNBOTTOMUP, std::string filenamePostfix = "")#
-
void generate(SgProject *project, std::string const &filename)#
-
void generateInputFiles(SgProject *node, traversalType tt = TOPDOWNBOTTOMUP, std::string filenamePostfix = "", bool excludeTemplateInstantiations = false)#
-
void generateWithinFile(SgFile *node, traversalType tt = TOPDOWNBOTTOMUP, std::string filenamePostfix = "")#
-
void writeIncidenceGraphToDOTFile(SgIncidenceDirectedGraph *graph, const std::string &filename)#
-
void addAdditionalNodesAndEdges(SgNode *node)#
Protected Functions
-
virtual DOTInheritedAttribute evaluateInheritedAttribute(SgNode *node, DOTInheritedAttribute ia)#
-
virtual DOTSynthesizedAttribute evaluateSynthesizedAttribute(SgNode *node, DOTInheritedAttribute ia, SubTreeSynthesizedAttributes l)#
-
virtual std::string additionalNodeInfo(SgNode *node)#
-
virtual std::string additionalNodeOptions(SgNode *node)#
-
virtual std::string additionalEdgeInfo(SgNode *from, SgNode *to, std::string label)#
-
virtual std::string additionalEdgeOptions(SgNode *from, SgNode *to, std::string label)#
-
bool commentOutNodeInGraph(SgNode *node)#
Protected Attributes
-
bool skip_write_during_traversal = {false}#
-
void generate(SgProject *node, traversalType tt = TOPDOWNBOTTOMUP, std::string filenamePostfix = "")#