Interface TextPointer

All Superinterfaces:
Comparable<TextPointer>

@Beta public interface TextPointer extends Comparable<TextPointer>
Represents a position in the source file.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • line

      int line()
      Returns:
      the (1-based) line number.
    • lineOffset

      int lineOffset()
      Returns:
      the (0-based) column number.