[][src]Function string_parser::string_parser_with_file

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

Like string_parser_with_line but the callback function also take the file path as arguments