Class YAML::YAMLMapping

A YAML mapping.

Example:

x: 0
y: 1

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getKey

    Gets the ith key of this mapping, as a YAML value.

    getKeyNode

    Gets the ith key of this mapping.

    getValue

    Gets the ith value of this mapping, as a YAML value.

    getValueNode

    Gets the ith value of this mapping.

    lookup

    Gets the value that this mapping maps key to.

    maps

    Holds if this mapping maps key to value.

    Inherited predicates

    eval

    Gets the YAML value this node corresponds to after resolving aliases and includes.

    from YAMLNode
    getAChild

    Gets a child of this node, as a YAML value.

    from YAMLNode
    getAChildNode

    Gets a child node of this node.

    from YAMLNode
    getAnchor

    Gets the anchor associated with this node, if any.

    from YAMLNode
    getChild

    Gets the ith child of this node, as a YAML value.

    from YAMLNode
    getChildNode

    Gets the ith child node of this node.

    from YAMLNode
    getDocument

    Gets the toplevel document to which this node belongs.

    from YAMLNode
    getEndLine

    Gets the line on which this element ends.

    from Locatable
    getFile

    Gets the file this program element comes from.

    from Locatable
    getLocation

    Gets this element’s location.

    from YAMLNode
    getNumChild

    Gets the number of child nodes of this node.

    from YAMLNode
    getNumLines

    Gets the number of lines covered by this element.

    from Locatable
    getParentNode

    Gets the parent node of this node, which is always a collection.

    from YAMLNode
    getStartLine

    Gets the line on which this element starts.

    from Locatable
    getTag

    Gets the tag of this node.

    from YAMLNode
    hasStandardTypeTag

    Holds if this node is tagged with a standard type tag of the form tag:yaml.org,2002:<t>.

    from YAMLNode
    toString

    Gets a textual representation of this element.

    from YAMLNode