Readonly
[Optional
addOptional
anchorOptional
commentA comment on or immediately after this
Optional
commentA comment before this
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.
Optional
spaceA blank line before this node and its commentBefore
Optional
srcThe CST token that was composed into this node.
Optional
tagA fully qualified tag, if required
Create a copy of this node.
Resolve the value of this alias within doc
, finding the last
instance of the source
anchor before this node.
Optional
ctx: ToJSContextA plain JavaScript representation of this node.
Optional
__namedParameters: ToJSOptionsA plain JS representation of this node
Optional
_arg: unknownOptional
ctx: ToJSContextOptional
ctx: StringifyContextOptional
_onComment: () => voidOptional
_onChompKeep: () => void
Customize the way that a key-value pair is resolved. Used for YAML 1.1 !!merge << handling.