Class NodeEvent

    • Constructor Detail

      • NodeEvent

        public NodeEvent​(String anchor,
                         Mark startMark,
                         Mark endMark)
    • Method Detail

      • getAnchor

        public String getAnchor()
        Node anchor by which this node might later be referenced by a AliasEvent.

        Note that AliasEvents are by it self NodeEvents and use this property to indicate the referenced anchor.

        Returns:
        Anchor of this node or null if no anchor is defined.
      • getArguments

        protected String getArguments()
        Description copied from class: Event
        Generate human readable representation of the Event
        Overrides:
        getArguments in class Event
        Returns:
        representation fore humans
        See Also:
        "__repr__ for Event in PyYAML"