Class/Object

scalaparsers

Pos

Related Docs: object Pos | package scalaparsers

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

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 def asInstanceOf[T0]: T0

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

    Permalink

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

  6. def checked: Loc

    Permalink
    Definition Classes
    Loc
  7. def clone(): AnyRef

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

    Permalink
  9. val current: String

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

    Permalink
    Definition Classes
    Located
  11. val ending: Boolean

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

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

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

    Permalink
    Definition Classes
    Located
  15. val fileName: String

    Permalink
  16. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Pos → AnyRef → Any
  20. def inferred: Loc

    Permalink
    Definition Classes
    PosLoc
  21. def instantiatedBy(l: Loc): Loc

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

    Permalink
    Definition Classes
    Any
  23. val line: Int

    Permalink
  24. def loc: Loc

    Permalink
    Definition Classes
    LocLocated
  25. def msg(s: String): String

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

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

    Permalink
    Definition Classes
    Loc
  34. final def wait(): Unit

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

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

    Permalink
    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