Function brane_ast::traversals::print::ast::do_traversal

source ·
pub fn do_traversal(
    root: &Workflow,
    writer: impl Write,
) -> Result<(), Vec<Error>>
Expand description

Starts printing the root of the AST (i.e., a Workflow).

§Arguments

  • root: The root node of the tree on which this compiler pass will be done.
  • writer: The Writer to write to.

§Errors

This pass may error if we failed to write to the given writer.