Skip to main content

convert

Function convert 

Source
pub fn convert(
    input: &str,
    catalog: &Catalog,
    from: &Locale,
    to: &Locale,
    options: &ConvertOptions,
) -> Result<Conversion, WorkshopError>
Expand description

Convert raw Workshop text from from to to, parsing with the catalog as the canonical signature context (expected enum domains resolve ambiguous bare members that the catalog documents).