Skip to main content

parse_lines_sync

Function parse_lines_sync 

Source
pub fn parse_lines_sync(
    source: impl IntoIterator<Item = String>,
    indent_size: usize,
    strict: bool,
    state: &mut StreamingScanState,
) -> Result<Vec<ParsedLine>>
Expand description

Parse all lines from the source, skipping blank lines but recording them for validation.

ยงErrors

Returns an error if any line violates strict indentation rules.