type Open
import yaml-for-bend@0.1.1.0/compose.bend as Composeimport Base
import yaml-for-bend@0.1.1.0/token.bend as T
import yaml-for-bend@0.1.1.0/parse.bend as P
import yaml-for-bend@0.1.1.0/value.bend as V
49# A collection still open: its anchor and tag, its items so far (newest
50# first; a mapping's alternate keys and values), how many nodes came before
51# it, and where it starts.
52type Open is Data:
53 OSeq{anchor: Maybe<&2, String>, tag: P.Tag, items: List<&2, V.Yaml>, start: Nat, at: T.Mark}
54 OMap{anchor: Maybe<&2, String>, tag: P.Tag, items: List<&2, Item>, start: Nat, at: T.Mark}