AstAttributeDOT¶
Synopsis¶
Declared in <src/midend/astDump/AstAttributeDOT.h>
class [[visibility("default")]] AstAttributeDOT
: public AstAttribute Description¶
The class class AstAttributeDOT is the base class implementation for DOTGraphNode and DOTGraphEdge. It ismeant to implement convenience functions to help building the stringrepresenting DOT options and information like if the node should be filteredout in a graph.
Base Classes¶
| Name | Description |
|---|---|
AstAttribute | Base class for all IR node attribute values. |
Enums¶
| Name |
|---|
DOTStyles |
Member Functions¶
| Name | Description |
|---|---|
AstAttributeDOTAstAttributeDOT(); [constructor] | Default constructor |
get_colorstd::string get_color(); | |
get_dot_options_liststd::vector<std::string> get_dot_options_list(); | |
get_dot_options_stringstd::string get_dot_options_string(); | |
get_extra_optionsstd::list<std::string> get_extra_options(); | |
get_fontcolorstd::string get_fontcolor(); | |
get_fontnamestd::string get_fontname(); | |
get_keepbool get_keep(); | |
get_labelstd::string get_label(); | |
get_styleDOTStyles get_style(); | |
get_style_stringstd::string get_style_string(); | |
set_colorvoid set_color(std::string); | |
set_extra_optionsvoid set_extra_options(std::string); | |
set_fontcolorvoid set_fontcolor(std::string); | |
set_fontnamevoid set_fontname(std::string); | |
set_keepvoid set_keep(bool); | |
set_labelvoid set_label(std::string); | |
set_stylevoid set_style(DOTStyles); |
Private Data Members¶
| Name |
|---|
color |
extraOptionsList |
fontcolor |
fontname |
label |
p_keep |
style |
Derived Classes¶
| Name | Description |
|---|---|
DOTGraphEdge | |
DOTGraphNode |
Created with MrDocs