pub fn parse(
source: &str,
options: ParseOptions,
) -> Result<Document, CompileError>Expand description
Parse a Svelte component into the public AST.
This matches the shape of Svelte’s parse(...) API and can return either
the legacy or modern AST.