[][src]Function gcode::full_parse_with_callbacks

pub fn full_parse_with_callbacks<'input, C: Callbacks + 'input>(
    src: &'input str,
    callbacks: C
) -> impl Iterator<Item = Line<'input>> + 'input

Parse each Line in some text, using the provided Callbacks when a parse error occurs that we can recover from.

Unlike parse(), this function will also give you access to any comments and line numbers that are found, plus the location of the entire Line in its source text.