type SKey

yaml-for-bend@0.1.1.0 · scan.bend:28

import yaml-for-bend@0.1.1.0/scan.bend as Scan
import Base
import yaml-for-bend@0.1.1.0/token.bend as T

28# A place a simple key may start: whether one still may, whether it must (a
29# block key at the indentation), the number its first token has, and where.
30# Each level also keeps where the oldest key still possible at or below it
31# started (+low+), so finding stale keys needn't look at every level.
32type SKey is Data:
33  SKey{possible: Bool, required: Bool, number: Nat, at: T.Mark, tab: Bool, low: Maybe<&2, T.Mark>}

Uses (4)

Used by (16)