Create a new Psych::Nodes::Mapping
object.
anchor
is the anchor associated with the map or nil
. tag
is the tag associated with the map or nil
. implicit
is a boolean indicating whether or not the map was implicitly started. style
is an integer indicating the mapping style.
See also Psych::Handler#start_mapping
Create a new Psych::Nodes::Node
Create a new Psych::Nodes::Scalar
object.
value
is the string value of the scalar anchor
is an associated anchor or nil tag
is an associated tag or nil plain
is a boolean value quoted
is a boolean value style
is an integer idicating the string style
See also Psych::Handler#scalar
Create a new object representing a YAML sequence.
anchor
is the anchor associated with the sequence or nil. tag
is the tag associated with the sequence or nil. implicit
a boolean indicating whether or not the sequence was implicitly started. style
is an integer indicating the list style.
Create a new Psych::Nodes::Stream
node with an encoding
that defaults to Psych::Nodes::Stream::UTF8
.
See also Psych::Handler#start_stream