struct
KYAML::Comment
Overview
A comment captured from a parsed K/YAML source doc.
Comments are sister sidecars that live adjacent to (but independent of) the main tree.
They are only linked to their sibling nodes by source #line and #column position captured at parse time.
#text: the comment body with leading#and trailing newline stripped#line: 1-based line number in the source doc (keyed on the#character position)#column: 1-based column number in the source doc (keyed on the#character position)
Defined in:
kyaml/comment.crConstructors
Instance Method Summary
Instance methods inherited from struct Struct
==(other : KYAML::Any)
==
Instance methods inherited from struct Value
==(other : KYAML::Any)
==
Instance methods inherited from class Object
to_kyaml(io : IO) : Nilto_kyaml(builder : KYAML::Builder) : Nil
to_kyaml : String to_kyaml