Skip to content

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
AstAttributeDOT
AstAttributeDOT(); [constructor]
Default constructor
get_color
std::string get_color();
get_dot_options_list
std::vector<std::string> get_dot_options_list();
get_dot_options_string
std::string get_dot_options_string();
get_extra_options
std::list<std::string> get_extra_options();
get_fontcolor
std::string get_fontcolor();
get_fontname
std::string get_fontname();
get_keep
bool get_keep();
get_label
std::string get_label();
get_style
DOTStyles get_style();
get_style_string
std::string get_style_string();
set_color
void set_color(std::string);
set_extra_options
void set_extra_options(std::string);
set_fontcolor
void set_fontcolor(std::string);
set_fontname
void set_fontname(std::string);
set_keep
void set_keep(bool);
set_label
void set_label(std::string);
set_style
void set_style(DOTStyles);

Private Data Members

Name
color
extraOptionsList
fontcolor
fontname
label
p_keep
style

Derived Classes

Name Description
DOTGraphEdge
DOTGraphNode

Created with MrDocs