Oyl::PullParser
Constructors
new(content : String | IO, *, dialect : Oyl::Dialect = :yaml12, merge : Bool = false, max_events : Int32 | Nil = nil, max_depth : Int32 | Nil = nil)
dialect reads documents that don't choose their own (see
document_dialect). With merge, << merge keys are applied as
YAML's merge has it (the keys a mapping writes win) and don't reach
the events.
Safety limits: max_events bounds the events in the stream (alias and
merge expansion included) and max_depth the nesting of collections;
exceeding either raises Oyl::ParseException. nil keeps the
library's defaults (10,000 events, depth 256); 0 disables a limit.
new(content, *, dialect : Oyl::Dialect = :yaml12, merge : Bool = false, max_events : Int32 | Nil = nil, max_depth : Int32 | Nil = nil, &)
SourceInstance methods
anchor
Sourceclose
Sourcedocument_dialect
The dialect of the document a DOCUMENT_START begins: YAML 1.1's if a
%YAML 1.1 directive chose it (go-yaml v2's when that is the parser's
dialect), else the parser's.
end_column
Sourceend_line
Sourcefinalize
Sourcekind
Sourcelocation
Sourcemapping_style
Sourceread_alias
Sourceread_document
Sourceread_document_end
Sourceread_document_start
Sourceread_mapping
Sourceread_mapping_end
Sourceread_mapping_start
Sourceread_next
Sourceread_scalar
Sourceread_sequence
Sourceread_sequence_end
Sourceread_sequence_start
Sourceread_stream
Sourceread_stream_end
Sourceread_stream_start
Sourcescalar_style
Sourcesequence_style
Sourceskip
Sourcestart_column
Sourcetag
Sourcevalue
Source