Abstract type for any iterable. The parsing pipeline is two streaming
generators feeding a terminal step: parseItems yields raw items
(no type parsing); parsedItems yields each item through
this.values; parse materializes into an Array. Concrete
types (Array, Set, …) extends: Iterable — Array inherits parse
unchanged; Set overrides parse to wrap this.parsedItems(value) into
a Set. Each input value flows through the chain exactly once.
MapType extends this and reuses parseItems to grab the raw string
parts, then splits each on : in its own parseEntries to yield
[key, value] tuples.
Abstract type for any iterable. The parsing pipeline is two streaming generators feeding a terminal step: parseItems yields raw items (no type parsing); parsedItems yields each item through
this.values; parse materializes into anArray. Concrete types (Array, Set, …)extends: Iterable— Array inheritsparseunchanged; Set overridesparseto wrapthis.parsedItems(value)into aSet. Each input value flows through the chain exactly once.MapTypeextends this and reusesparseItemsto grab the raw string parts, then splits each on:in its ownparseEntriesto yield[key, value]tuples.