sway_parse

Function parse_module_kind

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