Class Mark

  • All Implemented Interfaces:

    public final class Mark
    extends Object
    implements Comparable<Mark>
    A range of tokens in a source file, identified by a start and end token (both included in the range). The start and end token may be the same token.
    • Method Detail

      • getLocation

        public FileLocation getLocation()
        Return the location of this source range in the source file.
      • getBeginTokenIndex

        public int getBeginTokenIndex()
      • getEndTokenIndex

        public int getEndTokenIndex()
      • hashCode

        public int hashCode()
        hashCode in class Object