A
Size: a a a
A
A
A
KD
A
A
G
f
f
f
ref
типов и такого рода вещейG
G
f
f
f
{ "key": opt @capture }
или {"key": opt @capture or default}
G
G
f
Node = object
case kind: NodeKind
of foo, bar, baz:
children: seq[Node]
of bad, bif:
dad: Node
case kind
of foo:
additionalFieldForFoo: int
of bar:
onlyValidForBar: float
else: discard
G
f