Optional
anchorOptional
commentA comment on or immediately after this
Optional
commentA comment before this
Optional
flowIf true, stringify this and all child nodes using flow rather than block styles.
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
Static
maxStatic
tagAdds a value to the collection.
Optional
overwrite: booleanIf not set true
, using a key that is already in the
collection will throw. Otherwise, overwrites the previous value.
Optional
keepScalar: falseOptional
keepScalar: booleanOptional
_: unknownOptional
ctx: ToJSContextConversion context, originally set in Document#toJS()
Optional
Type: (new () => T)If set, forces the returned collection type
Instance of Type, Map, or Object
Generated using TypeDoc
An optional anchor on this node. Used by alias nodes.