Crate wood Copy item path Source pub use Wood ::*;
pub use LB ::*;
wooder woods Branch Leaf TermposeStyle WoodError LB A more succinct enum for discriminating leaves and branches, accessible via Wood::what
Wood DEFAULT_STYLE Dewoodable Dewooder Woodable Wooder deserialize parse_termpose(v).and_then(dewoodify) dewoodify dewoodify_seq_into indented_woodslist indented_woodslist_detail(w, false, 2, 73)
indented_woodslist_detail formats a Wood into readable indented woodslist notation inline_stringify_woodslist inline_stringify_woodslist_branch parse_multiline_termpose Returns a Branch containing all of the Woods at root level, even if there is only one Wood, it will be wrapped in an additional Branch parse_multiline_termpose_style Returns a Branch containing all of the Woods at root level, even if there is only one Wood, it will be wrapped in an additional Branch parse_multiline_woodslist parse_termpose If multiple Woods are at root level in the input, it will wrap them all in a Branch Wood. Otherwise, if there’s only one, it wont. This is probably the behaviour you will expect, most of the time, but if I didn’t explain it here it might have derailed you, the rest of the time. parse_woodslist pretty_termpose pretty_termpose_detail(w, false, 2, 73, &DEFAULT_STYLE)
pretty_termpose_detail Indents and uses pairing when appropriate. serialize woodify(v).to_string() stringify_leaf_termpose Blurts it into a single line. (Might be woodslist compatable??) stringify_leaf_woodslist to_woodslist woodify woodify_seq_into