Class Token.Location

java.lang.Object
nz.org.riskscape.dsl.Token.Location
Enclosing class:
Token

public static class Token.Location extends Object
  • Constructor Details

    • Location

      public Location(int line, int column, int length)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLine

      public int getLine()
    • getColumn

      public int getColumn()
    • getLength

      public int getLength()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object