Interface: AstmField
One ASTM field, as split from a record. The tree holds decoded component strings (escape sequences already resolved), while AstmField.raw preserves the exact wire text of the field for round-trip and audit.
components is the first repeat's components (the common single-repeat case);
repeats holds every repeat when a field uses the repeat delimiter.
Properties
components
readonlycomponents: readonlystring[]
Components of the first repeat, each escape-decoded. Empty field → [""].
raw
readonlyraw:string
The exact field text as it appeared on the wire (escapes NOT decoded).
repeats
readonlyrepeats: readonly readonlystring[][]
Every repeat, each an array of decoded components. repeats[0] === components.