Class Location

All Implemented Interfaces:

public class Location extends Object implements Serializable
An immutable object that represents a location in the parsed text.
See Also:
  • Field Details

    • offset

      public final int offset
      The absolute character index, starting at 0.
    • line

      public final int line
      The line number, starting at 1.
    • column

      public final int column
      The column number, starting at 1.
  • Method Details