Class Range.AttributeRange

  • Enclosing class:
    Range

    public static class Range.AttributeRange
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AttributeRange​(Range nameRange, Range valueRange)
      Creates a new AttributeRange.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      Range nameRange()
      Get the source range for the attribute's name.
      java.lang.String toString()
      Get a String presentation of this Attribute range, in the form line,column:pos-line,column:pos=line,column:pos-line,column:pos (name start - name end = val start - val end).
      Range valueRange()
      Get the source range for the attribute's value.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AttributeRange

        public AttributeRange​(Range nameRange,
                              Range valueRange)
        Creates a new AttributeRange. Called during parsing by Token.StartTag.
    • Method Detail

      • nameRange

        public Range nameRange()
        Get the source range for the attribute's name.
      • valueRange

        public Range valueRange()
        Get the source range for the attribute's value.
      • toString

        public java.lang.String toString()
        Get a String presentation of this Attribute range, in the form line,column:pos-line,column:pos=line,column:pos-line,column:pos (name start - name end = val start - val end). .
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object