Constructors
constructor
Parameters
Properties
Private atDirectives
atDirectives: any
Private decorate
decorate: any
Private directives
directives: any
Private doc
doc: any
Private errors
errors: any
Private onError
onError: any
Private options
options: any
Private prelude
prelude: any
Private warnings
warnings: any
Methods
compose
Parameters
tokens: Iterable<Token>
Optional forceDoc: boolean
Optional endOffset: number
end
Parameters
Optional forceDoc: boolean
Optional endOffset: number
next
Parameters
streamInfo
Returns { comment: string; directives: Directives; errors: YAMLParseError[]; warnings: YAMLWarning[] }
comment: string
directives: Directives
Compose a stream of CST nodes into a stream of YAML Documents.