pub fn parse(s: LocatedSpan<&'_ str, String>) -> ParseResultExpand description
Parse source code and return a ParseResult containing the AST and any syntax errors
This function collects syntax errors instead of panicking, allowing the caller to handle errors appropriately (e.g., display all errors, continue with partial AST)