[][src]Function string_parser::string_parser_with_line

pub fn string_parser_with_line(
    path: &str,
    text: &str,
    end_filter: impl Fn(Vec<char>) -> bool,
    callback: impl FnMut(String, usize)
) -> Result<(), Error>

Like string_parser but the callback function also take the line number as arguments