Module parser

Module parser 

Source
Expand description

Parser for .pan files. Parser for .pan files.

Modules§

serde_pan_bytes
Serde helper for serializing Vec<u8> as MacRoman-decoded UTF-8 string and deserializing from either a string or a byte sequence.

Structs§

PanData
PanDataFieldValue
PanDataRecord
PanDataSection
PanDocument
Parsed representation of a PAN file.
PanMacroInfo
PanPrelude
The leading u32 and symbolic prelude entries before tagged sections.
PanPreludeEntry
A symbolic prelude entry (kind + name + optional pointer-like value).
PanSchema
PanSchemaField
PanSection
One top-level section in a PAN file. Note that the section names are sometimes immediately followed by a letter, so they might look like “DATAS” or “DATA2” but the real section name is “DATA”.

Enums§

PanCapitalization
PanDataValue
PanFieldType
PanJustification

Functions§

diagnose_missing_data
Build a human-readable diagnostic message for missing PAN DATA rows.
extract_macro_code_bytes
parse_pan
Parse PAN bytes into a structured representation.