Skip to main content

parse_entities

Function parse_entities 

Source
pub fn parse_entities(
    body: &str,
    section_kind: SectionKind,
    section_start_line: usize,
    errors: &mut Vec<ParseError>,
) -> Vec<Entity>
Expand description

Parse entities from an entity section (Actors, Institutions, Events). The body is the text between the H2 heading and the next H2 heading. section_start_line is the line number of the H2 heading in the original file.