Function brane_ast::traversals::print::ast_unresolved::pass_edges

source ·
pub fn pass_edges(
    writer: &mut impl Write,
    edges: &EdgeBuffer,
    table: &TableState,
    indent: usize,
    stop: HashSet<EdgeBufferNodePtr>,
) -> Result<()>
Expand description

Prints a given EdgeBuffer to stdout.

§Arguments

  • writer: The Writer to write to.
  • edges: The EdgeBuffer to print.
  • table: The VirtualTableState that we use to resolve indices.
  • indent: The indent with which to print the buffer.
  • stop: An optional set of nodes that we need to stop iterating for (useful for printing joining branches).

§Returns

Nothing, but does print the buffer to stdout.