Loop
Defined in: packages/parser/src/loops/types.ts:16
A loop from the implementation guide, such as 2120C, and the segments and loops inside it.
Properties
| Property | Type | Description |
|---|---|---|
id | string | The loop ID from the implementation guide, such as 2120C. |
loops | Loop[] | The loops nested inside this one, in the order they appear. |
segments | [Segment, ...Segment[]] | The loop's own segments, in the order they appear. The first is the segment that opened the loop: its HL, its first segment (such as NM1), or the LS that starts a list. |