scalaparsers

Pos

case class Pos(fileName: String, current: String, line: Int, column: Int, ending: Boolean) extends Loc with Product with Serializable

A Pos is a location that actually occurs in a source file.

Linear Supertypes
Serializable, Serializable, Product, Equals, Loc, Located, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Pos
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Loc
  7. Located
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Pos(fileName: String, current: String, line: Int, column: Int, ending: Boolean)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def bump(c: Char, i: String, o: Int): Pos

    new Pos("foo.

    new Pos("foo.e", contents) -- will construct a position that points to the start of a file with the given contents

  8. def checked: Loc

    Definition Classes
    Loc
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val column: Int

  11. val current: String

  12. def die(msg: Document, rest: Document*): Nothing

    Definition Classes
    Located
  13. val ending: Boolean

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

    Definition Classes
    AnyRef
  15. def equals(a: Any): Boolean

    Definition Classes
    Pos → Equals → AnyRef → Any
  16. def error(msg: Document, rest: Document*): Nothing

    Definition Classes
    Located
  17. val fileName: String

  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def generalized: Loc

    Definition Classes
    Loc
  20. final def getClass(): Class[_]

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

    Definition Classes
    Pos → AnyRef → Any
  22. def inferred: Loc

    Definition Classes
    PosLoc
  23. def instantiatedBy(l: Loc): Loc

    Definition Classes
    Loc
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. val line: Int

  26. def loc: Loc

    Definition Classes
    LocLocated
  27. def msg(s: String): String

    Definition Classes
    PosLocated
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def orElse(l: Loc): Pos

    Definition Classes
    PosLoc
  32. def report(msg: Document, rest: Document*): Document

    Definition Classes
    PosLocated
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    Pos → AnyRef → Any
  35. def unifiedWith(l: Loc): Loc

    Definition Classes
    Loc
  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Loc

Inherited from Located

Inherited from AnyRef

Inherited from Any

Ungrouped