Optionalyaml: { explicit?: boolean; version: "1.1" | "1.2" | "next" }Optionaltags: Record<string, string>The directives-end/doc-start marker ---. If null, a marker may still be
included in the document's stringified representation.
StaticdefaultStaticdefaultMay be called even if the action was successful
true on success
During parsing, get a Directives instance for the current document and update the stream state according to the current version's spec.
Resolves a tag, matching handles to those defined in %TAG directives.
Resolved tag, which may also be the non-specific tag '!' or a
'!local' tag, or null if unresolvable.
Given a fully resolved tag, returns its printable string form, taking into account current tag prefixes and defaults.
Optionaldoc: Document
The doc-end marker
....