Function piston_meta::meta_rules::parse_errstr [] [src]

pub fn parse_errstr(
    rules: &Syntax,
    text: &str,
    tokens: &mut Vec<Range<MetaData>>
) -> Result<(), String>

Parses text with rules, formatting the error as a String.