brane_ast::traversals::print::dslFunction pass_property
Source pub fn pass_property(
writer: &mut impl Write,
prop: &Property,
largest_prop: usize,
indent: usize,
) -> Result<()>
Expand description
Prints a Property node.
§Arguments
writer
: The Write
r to write to.
prop
: The Property to traverse.
largest_prop
: The longest property name. It will auto-pad all names to this length to make a nice list.
indent
: The current base indent of all new lines to write.
§Returns
Nothing, but does print it.