Skip to main content

tree_to_json

Function tree_to_json 

Source
pub fn tree_to_json(tree: &LocatedExprTree, include_origin: bool) -> Value
Expand description

Projects a LocatedExprTree onto JSON, recursively carrying per-node origins as $located forms when include_origin is set.