sway_ir::parser

Function parse

Source
pub fn parse<'eng>(
    input: &str,
    source_engine: &'eng SourceEngine,
    experimental: ExperimentalFeatures,
) -> Result<Context<'eng>, IrError>
Expand description

Parse a string produced by crate::printer::to_string into a new Context.