Skip to main content

parse_function

Function parse_function 

Source
pub fn parse_function(input: &str) -> Result<Function, ParseError>
Expand description

Parses a single textual MIR function.

§Errors

Returns a ParseError on malformed input.

§Session

Must be called inside an active solar_interface::Session::enter.