Skip to main content

parse_for_offset

Function parse_for_offset 

Source
pub fn parse_for_offset(
    src: &str,
    target_offset: u32,
) -> (SyntaxTree<'_>, Option<(u32, u32)>)
Expand description

Parses src, keeping full CST inside the function containing target_offset and flat BlockExprs elsewhere.