Skip to content

@ediocracy/parser / type aliases

type

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 ​

PropertyTypeDescription
idstringThe loop ID from the implementation guide, such as 2120C.
loopsLoop[]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.