Abstract
Readonly
[Optional
addOptional
commentA comment on or immediately after this
Optional
commentA comment before this
Optional
rangeThe [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.
A plain JavaScript representation of this node.
Optional
__namedParameters: ToJSOptionsAbstract
toA plain JS representation of this node
Abstract
toOptional
ctx: StringifyContextOptional
onComment: () => voidOptional
onChompKeep: () => void
Customize the way that a key-value pair is resolved. Used for YAML 1.1 !!merge << handling.