Skip to main content

parse_file

Function parse_file 

Source
pub fn parse_file(
    path: &Path,
    options: ParseOptions,
) -> Result<Module, Vec<Diagnostic>>
Expand description

Parse a file from the filesystem, resolving include statements against the file’s directory (spec §2.7). Includes are enabled regardless of the passed options’ enable_includes flag; every other option is honored as given.