Skip to main content

compact_from_tree

Function compact_from_tree 

Source
pub fn compact_from_tree(tree: &Value) -> Result<Vec<Value>, Error>
Expand description

Build the compact table model from a MAIN parse tree.

Use this to format a tree you already hold, for example one returned by Parser::parse. Returns Error::Format if the root id is not MAIN.