Skip to main content

parse_full

Function parse_full 

Source
pub fn parse_full(
    content: &str,
    reg: Option<&EntityRegistry>,
) -> Result<(ParsedCase, Vec<Entity>, Vec<Rel>), Vec<ParseError>>
Expand description

Parse a case file fully: front matter, entities, relationships, timeline. Returns the parsed case, inline entities, and relationships (including NEXT from timeline).

When a registry is provided, relationship and timeline names are resolved against both inline events AND the global entity registry.