Class AnchorNode


  • public class AnchorNode
    extends Node
    This class is only used during representation (dumping)
    • Field Detail

      • realNode

        private final Node realNode
    • Constructor Detail

      • AnchorNode

        public AnchorNode​(Node realNode)
    • Method Detail

      • getNodeId

        public NodeId getNodeId()
        Description copied from class: Node
        For error reporting.
        Specified by:
        getNodeId in class Node
        Returns:
        scalar, sequence, mapping
        See Also:
        "class variable 'id' in PyYAML"
      • getRealNode

        public Node getRealNode()