scala.tools.nsc.util

FakePos

case class FakePos(msg: String) extends Position with Product with Serializable

Source
Position.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Position, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. FakePos
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Position
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FakePos(msg: String)

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 canEqual(arg0: Any): Boolean

    Definition Classes
    FakePos → Equals
  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def column: Int

    Definition Classes
    Position
  10. def dbgString: String

    Definition Classes
    Position
  11. def end: Int

    The end of the position's range, error if not a range position

    The end of the position's range, error if not a range position

    Definition Classes
    Position
  12. def endOrPoint: Int

    The end of the position's range, or point if not a range position

    The end of the position's range, or point if not a range position

    Definition Classes
    Position
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    FakePos → Equals → AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def focus: Position

    If this is a range position, the offset position of its point.

    If this is a range position, the offset position of its point. Otherwise the position itself

    Definition Classes
    Position
  17. def focusEnd: Position

    If this is a range position, the offset position of its end.

    If this is a range position, the offset position of its end. Otherwise the position itself

    Definition Classes
    Position
  18. def focusStart: Position

    If this is a range position, the offset position of its start.

    If this is a range position, the offset position of its start. Otherwise the position itself

    Definition Classes
    Position
  19. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    FakePos → AnyRef → Any
  21. def inUltimateSource(source: SourceFile): Position

    Map this position to a position in an original source file.

    Map this position to a position in an original source file. If the SourceFile is a normal SourceFile, simply return this.

    Definition Classes
    Position
  22. def includes(pos: Position): Boolean

    Does this position include the given position pos.

    Does this position include the given position pos. This holds if this is a range position and its range [start..end] is the same or covers the range of the given position, which may or may not be a range position.

    Definition Classes
    Position
  23. def isDefined: Boolean

    Is this position neither a NoPosition nor a FakePosition? If isDefined is true, offset and source are both defined.

    Is this position neither a NoPosition nor a FakePosition? If isDefined is true, offset and source are both defined.

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

    Definition Classes
    Any
  25. def isOpaqueRange: Boolean

    Is this position a non-transparent range position?

    Is this position a non-transparent range position?

    Definition Classes
    Position
  26. def isRange: Boolean

    Is this position a range position?

    Is this position a range position?

    Definition Classes
    Position
  27. def isTransparent: Boolean

    Is this position a transparent position?

    Is this position a transparent position?

    Definition Classes
    Position
  28. def line: Int

    Definition Classes
    Position
  29. def lineContent: String

    Definition Classes
    Position
  30. def makeTransparent: Position

    if opaque range, make this position transparent

    if opaque range, make this position transparent

    Definition Classes
    Position
  31. val msg: String

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

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

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

    Definition Classes
    AnyRef
  35. def overlaps(pos: Position): Boolean

    Does this position overlap with that position? This holds if both positions are ranges and there is an interval of non-zero length that is shared by both position ranges.

    Does this position overlap with that position? This holds if both positions are ranges and there is an interval of non-zero length that is shared by both position ranges.

    Definition Classes
    Position
  36. def point: Int

    The point (where the ^ is) of the position

    The point (where the ^ is) of the position

    Definition Classes
    Position
  37. def pointOrElse(default: Int): Int

    The point (where the ^ is) of the position, or else default' if undefined

    The point (where the ^ is) of the position, or else default' if undefined

    Definition Classes
    Position
  38. def precedes(pos: Position): Boolean

    Does this position precede that position? This holds if both positions are defined and the end point of this position is not larger than the start point of the given position.

    Does this position precede that position? This holds if both positions are defined and the end point of this position is not larger than the start point of the given position.

    Definition Classes
    Position
  39. def productArity: Int

    Definition Classes
    FakePos → Product
  40. def productElement(arg0: Int): Any

    Definition Classes
    FakePos → Product
  41. def productIterator: Iterator[Any]

    Definition Classes
    Product
  42. def productPrefix: String

    Definition Classes
    FakePos → Product
  43. def properlyIncludes(pos: Position): Boolean

    Does this position properly include the given position pos ("properly" meaning their ranges are not the same)?

    Does this position properly include the given position pos ("properly" meaning their ranges are not the same)?

    Definition Classes
    Position
  44. def properlyPrecedes(pos: Position): Boolean

    Does this position properly precede the given position pos ("properly" meaning their ranges do not share a common point).

    Does this position properly precede the given position pos ("properly" meaning their ranges do not share a common point).

    Definition Classes
    Position
  45. def sameRange(pos: Position): Boolean

    Does this position cover the same range as that position? Holds only if both position are ranges

    Does this position cover the same range as that position? Holds only if both position are ranges

    Definition Classes
    Position
  46. def show: String

    Definition Classes
    Position
  47. def source: SourceFile

    An optional value containing the source file referred to by this position, or None if not defined.

    An optional value containing the source file referred to by this position, or None if not defined.

    Definition Classes
    Position
  48. def start: Int

    The start of the position's range, error if not a range position

    The start of the position's range, error if not a range position

    Definition Classes
    Position
  49. def startOrPoint: Int

    The start of the position's range, or point if not a range position

    The start of the position's range, or point if not a range position

    Definition Classes
    Position
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def toSingleLine: Position

    Convert this to a position around point that spans a single source line

    Convert this to a position around point that spans a single source line

    Definition Classes
    Position
  52. def toString(): String

    Definition Classes
    FakePos → AnyRef → Any
  53. def union(pos: Position): Position

    If this is a range, the union with the other range, with the point of this position.

    If this is a range, the union with the other range, with the point of this position. Otherwise, this position

    Definition Classes
    Position
  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  57. def withEnd(off: Int): Position

    The same position with a different end value (if a range)

    The same position with a different end value (if a range)

    Definition Classes
    Position
  58. def withPoint(off: Int): Position

    The same position with a different point value (if a range or offset)

    The same position with a different point value (if a range or offset)

    Definition Classes
    Position
  59. def withSource(source: SourceFile, shift: Int): Position

    The same position with a different source value, and its values shifted by given offset

    The same position with a different source value, and its values shifted by given offset

    Definition Classes
    Position
  60. def withStart(off: Int): Position

    The same position with a different start value (if a range)

    The same position with a different start value (if a range)

    Definition Classes
    Position

Deprecated Value Members

  1. def offset: Option[Int]

    Definition Classes
    Position
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) use point instead

  2. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Position

Inherited from AnyRef

Inherited from Any