Function sway_ir::parser::parse

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

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