type Co

yaml-for-bend@0.1.1.0 · compose.bend:64

import yaml-for-bend@0.1.1.0/compose.bend as Compose
import Base
import yaml-for-bend@0.1.1.0/token.bend as T
import yaml-for-bend@0.1.1.0/value.bend as V

64# The composer: the open collections, the anchors, how many nodes the
65# document has (aliases counted in full), the document's value once it has
66# one, the documents so far (newest first), where the document started,
67# how deep its collections nest here, and how many nodes aliases copied.
68type Co is Data:
69  Co{stack: List<&2, Open>, anchors: Map<&2, Anchored>, count: Nat, root: Maybe<&2, V.Yaml>, docs: List<&2, Doc>, opened: T.Mark, depth: Nat, copied: Nat}

Uses (9)

Used by (18)