pub fn parse_with_src(
src: &str,
tokens: Vec<Token>,
) -> Result<Program, ParseError>Expand description
Parse + attach # line-comments to the AST. The source string is
used only to scan the gaps between tokens (where the lexer skipped
whitespace and comments); the parser itself still operates purely
on tokens. See Program::leading_comments for the data model.