#include <graphviz.h>
Public Member Functions | |
void | print (writer &w) const final override |
void | add_stmt (std::unique_ptr< stmt > s) |
void | add_edge (node_id src_id, node_id dst_id) |
void | add_attr (id key, id value) |
void | dump () const |
Data Fields | |
std::vector< std::unique_ptr< stmt > > | m_stmts |
stmt_list : [ stmt [ ';' ] stmt_list ]
References add_stmt().
|
inline |
References m_stmts, and dot::s.
Referenced by add_attr(), and state_diagram::on_input_state_node().
|
inherited |
References pp_flush(), pp_newline(), print(), pretty_printer::set_output_stream(), and dot::w.
|
finaloverridevirtual |
Implements dot::ast_node.
References m_stmts, dot::stmt::print(), and dot::w.
std::vector<std::unique_ptr<stmt> > dot::stmt_list::m_stmts |
Referenced by add_edge(), add_stmt(), and print().