DOTGraphNode¶
Synopsis¶
Declared in <src/midend/astDump/AstAttributeDOT.h>
class [[visibility("default")]] DOTGraphNode
: public AstAttributeDOT Description¶
The class class DOTGraphNode implements convenience functions specific to a graph node for building a dotoptions string. It also contains information about which node in the AST weoperate on.
Base Classes¶
| Name | Description |
|---|---|
AstAttributeDOT |
Enums¶
| Name |
|---|
DOTShapeTypes |
Member Functions¶
| Name | Description |
|---|---|
DOTGraphNodeDOTGraphNode(SgNode* n); [constructor] | Construct from SgNode |
get_dot_options_liststd::vector<std::string> get_dot_options_list(); | |
get_dot_options_stringstd::string get_dot_options_string(); | |
get_fillcolorstd::string get_fillcolor(); | |
get_nodeSgNode* get_node(); | |
get_shapeDOTShapeTypes get_shape(); | |
get_shape_stringstd::string get_shape_string(); | |
set_fillcolorvoid set_fillcolor(std::string); | |
set_shapevoid set_shape(DOTShapeTypes a_shape); |
Private Data Members¶
| Name |
|---|
fillcolor |
node |
shape |
Created with MrDocs