Skip to main content

Module parser

Module parser 

Source

Structs§

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).
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).