Skip to main content

parse_program_with_comments

Function parse_program_with_comments 

Source
pub fn parse_program_with_comments(
    source: &str,
    options: &ParserOptions,
) -> (Program, Vec<ParseError>, Arena<Expr>, Vec<Comment>)
Expand description

Parse a program and retain comments for source-preserving tooling.