Interface ParsedSection
- All Known Implementing Classes:
FigureSection, TableSection, TextSection
A single section of a parsed source document.
ParsedSection is sealed; the only
permitted implementations are TextSection, TableSection, and
FigureSection. New section types require a major version bump.
The sealed contract enables exhaustive switch pattern matching without a
default branch, so adding a new section type is a compile-time forcing function
everywhere it is consumed.
- Since:
- 0.1.0