Function sway_ir::parser::parse

source ยท
pub fn parse<'eng>(
    input: &str,
    source_engine: &'eng SourceEngine,
    experimental: ExperimentalFlags,
) -> Result<Context<'eng>, IrError>
Expand description

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