Skip to main content

parse_header

Function parse_header 

Source
pub fn parse_header(
    lines: &[Line],
    pos: &mut usize,
    errors: &mut Vec<AgmError>,
) -> Header
Expand description

Parses the header section of an AGM file.

Advances pos to the first NodeDeclaration or end of lines. Emits errors into errors.