File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -326,20 +326,27 @@ type
326326 yamlNull
327327
328328 YamlNode * {.acyclic .} = ref object
329+ # # Represents a node in the YAML data structure, which can be a scalar, object or array
329330 case kind* : YamlValueKind
330331 of yamlInteger:
331332 intValue* : int64
333+ # # Represents an integer value in YAML
332334 of yamlFloat:
333335 floatValue* : float64
336+ # # Represents a floating-point value in YAML
334337 of yamlString:
335338 strValue* : string
339+ # # Represents a string value in YAML
336340 of yamlBoolean:
337341 boolValue* : bool
338- of yamlNull: discard
342+ # # Represents a boolean value in YAML
339343 of yamlObject:
340344 objValue* : OrderedTableRef [string , YamlNode ]
345+ # # Represents a YAML mapping (object) with string keys and YamlNode values
341346 of yamlArray:
342347 arrValue* : seq [YamlNode ]
348+ # # Represents a YAML sequence (array) of YamlNode items
349+ of yamlNull: discard
343350
344351 YAMLObject * = OrderedTableRef [string , YamlNode ]
345352 # # Represents a simple
You can’t perform that action at this time.
0 commit comments