Skip to main content

Module parse

Module parse 

Source
Expand description

Generic Part 21 record-graph parser.

The parser accepts only source deviations whose value remains unambiguous: the deviation must be recoverable without guessing, observed in a real producer, represented by its own diagnostic kind, and rejectable by strict decode policy. Ambiguous records and duplicate names remain parse errors.

Structs§

AnchorEntry
One edition-3 ANCHOR binding.
DataSection
One DATA section and its ordered population.
Exchange
Parsed exchange structure and global DATA record graph.
HeaderRecord
One entity-like record in the HEADER section.
ParseDiagnostic
One attributable parser diagnostic that does not prevent recovery.
PartialRecord
One simple entity leaf within an entity instance.
RawRecord
One DATA entity instance with its exact source extent.
ReferenceEntry
One edition-3 external REFERENCE binding.

Enums§

ParseDiagnosticKind
A recoverable deviation from canonical Part 21 source syntax.
ParseError
Structural or lexical exchange failure.
Value
One parsed Part 21 parameter value.

Functions§

parse
Parse one complete clear-text exchange structure and resolve DATA references.