Interface TextPointer

  • All Superinterfaces:
    java.lang.Comparable<TextPointer>

    public interface TextPointer
    extends java.lang.Comparable<TextPointer>
    Represents a position in a text file InputFile
    Since:
    5.2
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int line()
      The logical line where this pointer is located.
      int lineOffset()
      The offset of this pointer in the current line.
      • Methods inherited from interface java.lang.Comparable

        compareTo
    • Method Detail

      • line

        int line()
        The logical line where this pointer is located. First line is 1.
      • lineOffset

        int lineOffset()
        The offset of this pointer in the current line. First position in a line is 0.