sway_parse

Function parse_file

Source
pub fn parse_file(
    handler: &Handler,
    src: Arc<str>,
    source_id: Option<SourceId>,
) -> Result<Annotated<Module>, ErrorEmitted>