Readonly[OptionaladdOptionalanchorAn optional anchor on this node. Used by alias nodes.
OptionalcommentA comment on or immediately after this
OptionalcommentA comment before this
OptionalformatBy default (undefined), numbers use decimal notation. The YAML 1.2 core schema only supports 'HEX' and 'OCT'. The YAML 1.1 schema also supports 'BIN' and 'TIME'
OptionalminIf value is a number, use this value when stringifying this node.
The [start, value-end, node-end] character offsets for the part of the
source parsed into this node (undefined if not parsed). The value-end
and node-end positions are themselves not included in their respective
ranges.
Set during parsing to the source string value
OptionalspaceA blank line before this node and its commentBefore
OptionalsrcThe CST token that was composed into this node.
OptionaltagA fully qualified tag, if required
OptionaltypeThe scalar style used for the node's string representation
Create a copy of this node.
A plain JavaScript representation of this node.
Optional__namedParameters: ToJSOptionsA plain JS representation of this node
Optionalarg: anyOptionalctx: ToJSContext
Customize the way that a key-value pair is resolved. Used for YAML 1.1 !!merge << handling.