Class/Object

scala.io

ScalaPosition

Related Docs: object ScalaPosition | package io

Permalink

abstract class ScalaPosition extends AnyRef

This was made private in scala 2.11.0 but there is no alternative for us to use, so here, copy/paste for now. We renamed it because having a private vs public class with the same name causes errors with the assembly plugin and may/(will?) cause errors at runtime.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaPosition
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaPosition()

    Permalink

Abstract Value Members

  1. abstract def checkInput(line: Int, column: Int): Unit

    Permalink

    Definable behavior for overflow conditions.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val COLUMN_BITS: Int

    Permalink

    Number of bits used to encode the column number

  5. final val COLUMN_MASK: Int

    Permalink

    Mask to decode the column number

  6. final val LINE_BITS: Int(20)

    Permalink

    Number of bits used to encode the line number

  7. final val LINE_MASK: Int

    Permalink

    Mask to decode the line number

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def column(pos: Int): Int

    Permalink

    Returns the column number of the encoded position.

  11. final def encode(line: Int, column: Int): Int

    Permalink

    Encodes a position into a single integer.

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def line(pos: Int): Int

    Permalink

    Returns the line number of the encoded position.

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(pos: Int): String

    Permalink

    Returns a string representation of the encoded position.

  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped