class Prism::DotVisitor

def visit_embedded_statements_node(node)

Visit a EmbeddedStatementsNode node.
def visit_embedded_statements_node(node)
  table = Table.new("EmbeddedStatementsNode")
  id = node_id(node)
  # opening_loc
  table.field("opening_loc", location_inspect(node.opening_loc))
  # statements
  unless (statements = node.statements).nil?
    table.field("statements", port: true)
    digraph.edge("#{id}:statements -> #{node_id(statements)};")
  end
  # closing_loc
  table.field("closing_loc", location_inspect(node.closing_loc))
  digraph.nodes << <<~DOT
    #{id} [
      label=<#{table.to_dot.gsub(/\n/, "\n  ")}>
    ];
  DOT
  super
end