pub fn parse_source(
source: &str,
filename: &str,
) -> Result<(File, SourceMap), Vec<Diagnostic>>Expand description
Parse source code into an AST without type checking.
Useful for tools that need syntactic analysis (formatters, linters) without the overhead of full compilation.