GCC Middle and Back End API Reference
dot::edge_stmt Struct Reference

#include <graphviz.h>

Inheritance diagram for dot::edge_stmt:
Collaboration diagram for dot::edge_stmt:

Public Member Functions

 edge_stmt (node_id src_id, node_id dst_id)
void print (writer &w) const final override
void set_attr (id key, id value)
void set_label (dot::id label)

Data Fields

std::vector< node_idm_node_ids
attr_list m_attrs

Detailed Description

The full grammar for edge_stmt is: edge_stmt : (node_id | subgraph) edgeRHS [ attr_list ] edgeRHS : edgeop (node_id | subgraph) [ edgeRHS ] This class support the subsets where all are "node_id", rather than "subgraph", and doesn't yet support "port" giving effectively: node_id (edgeop node_id)+ [ attr_list]

Constructor & Destructor Documentation

◆ edge_stmt()

dot::edge_stmt::edge_stmt ( node_id src_id,
node_id dst_id )
inline

References m_node_ids.

Member Function Documentation

◆ print()

void dot::edge_stmt::print ( writer & w) const
finaloverridevirtual

◆ set_attr()

void dot::stmt_with_attr_list::set_attr ( id key,
id value )
inlineinherited

References m_attrs.

◆ set_label()

void dot::stmt_with_attr_list::set_label ( dot::id label)
inherited

References m_attrs.

Field Documentation

◆ m_attrs

attr_list dot::stmt_with_attr_list::m_attrs
inherited

◆ m_node_ids

std::vector<node_id> dot::edge_stmt::m_node_ids

Referenced by edge_stmt(), and print().


The documentation for this struct was generated from the following files: