Abstract class of all YAML tree nodes.
Instance methods
anchor
The optional anchor of a node.
Sourceanchor=(anchor :
String |
Nil)
The optional anchor of a node.
Sourceend_column
The column where this node ends.
Sourceend_column=(end_column :
Int32)
The column where this node ends.
Sourceend_line
The line where this node ends.
Sourceend_line=(end_line :
Int32)
The line where this node ends.
Sourcekind
Returns the kind of this node, which is equivalent to the class name.
Sourcelocation
Returns a tuple of start_line and start_column.
Sourceraise(message) : NoReturn
Raises a YAML::ParseException with the given message
located at this node's location.
Sourcestart_column
The column where this node starts.
Sourcestart_column=(start_column :
Int32)
The column where this node starts.
Sourcestart_line
The line where this node starts.
Sourcestart_line=(start_line :
Int32)
The line where this node starts.
Sourcetag
The optional tag of a node.
SourceThe optional tag of a node.
Source