Packages

case class Position(line: Int, column: Int, offset: Int) extends Ordered[Position] with Comparable[Position] with Product with Serializable

Defines a position on an input

Annotations
@JSExportAll() @JSExportTopLevel( "Position" )
Linear Supertypes
Serializable, Serializable, Product, Equals, Ordered[Position], Comparable[Position], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Position
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Ordered
  7. Comparable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Position(line: Int, column: Int, offset: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(that: Position): Position
  4. def <(that: Position): Boolean
    Definition Classes
    Ordered
  5. def <=(that: Position): Boolean
    Definition Classes
    Ordered
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def >(that: Position): Boolean
    Definition Classes
    Ordered
  8. def >=(that: Position): Boolean
    Definition Classes
    Ordered
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  11. val column: Int
  12. def compare(that: Position): Int
    Definition Classes
    Position → Ordered
  13. def compareTo(o: Position): Int
    Definition Classes
    Position → Ordered → Comparable
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(obj: Any): Boolean
    Definition Classes
    Position → Equals → AnyRef → Any
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    Position → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isZero: Boolean
  20. val line: Int
  21. def lt(o: Position): Boolean

    Return true if position is less than specified position.

  22. def max(other: Position): Position
  23. def min(other: Position): Position
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. val offset: Int
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    Position → AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[Position]

Inherited from Comparable[Position]

Inherited from AnyRef

Inherited from Any

Ungrouped