Skip to main content

decode_lisp_tree

Function decode_lisp_tree 

Source
pub fn decode_lisp_tree(
    cx: &mut ReadCx<'_>,
    source_id: impl Into<String>,
    input: Input,
) -> Result<LocatedExprTree>
Expand description

Decodes Lisp source into a LocatedExprTree, preserving trivia and span information for every node so the tree can be re-encoded losslessly.