Skip to main content

syntax_held

Function syntax_held 

Source
pub fn syntax_held(tree: &File) -> SyntaxHeld
Expand description

Read the retained-tree estimate of tree. The walk allocates nothing, apart from one transient copy of each counted literal’s native spelling, which syn hands out only by value and which dies before the next node.