Skip to main content

Module parser

Module parser 

Source

Structs§

InvolvedEntry
An entity reference in the ## Involved section.
ParseError
A parser error with file location.
ParsedCase
A parsed case file with front matter, title, summary, and raw sections.
ParsedEntityFile
A parsed standalone entity file (actor or institution).
RelatedCase
A related case entry from ## Related Cases section.
Section
A raw H2 section with its heading text and body content.

Enums§

SectionKind
The type of an H2 section, mapped from heading text.
SourceEntry
A source entry in front matter. Supports both bare URL strings and structured objects with metadata.

Functions§

parse
Parse a Markdown case file into a ParsedCase.
parse_entity_file
Parse a standalone entity file (actor or institution).
parse_involved
Parse the body of a ## Involved section into InvolvedEntry items.
parse_related_cases
Parse the body of a ## Related Cases section into RelatedCase entries.