scala.tools.nsc.ast

Positions

trait Positions extends Positions

Self Type
Global
Source
Positions.scala
Linear Supertypes
Positions, Positions, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Positions
  2. Positions
  3. Positions
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class DefaultPosAssigner extends Traverser with PosAssigner

    Attributes
    protected
  2. trait PosAssigner extends Traverser

  3. type Position = Position

    Definition Classes
    Positions → Positions
  4. class ValidatingPosAssigner extends Traverser with PosAssigner

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Positions to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Positions, B)

    Implicit information
    This member is added by an implicit conversion from Positions to ArrowAssoc[Positions] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. val NoPosition: tools.nsc.util.NoPosition.type

    Definition Classes
    Positions → Positions
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def atPos[T <: Tree](pos: Position)(tree: T): T

    Definition Classes
    Positions → Positions
  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def ensureNonOverlapping(tree: Tree, others: List[Tree]): Unit

    Ensure that given tree has no positions that overlap with any of the positions of others.

    Ensure that given tree has no positions that overlap with any of the positions of others. This is done by shortening the range or assigning TransparentPositions to some of the nodes in tree.

    Definition Classes
    Positions → Positions
  13. def ensuring(cond: (Positions) ⇒ Boolean, msg: ⇒ Any): Positions

    Implicit information
    This member is added by an implicit conversion from Positions to Ensuring[Positions] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (Positions) ⇒ Boolean): Positions

    Implicit information
    This member is added by an implicit conversion from Positions to Ensuring[Positions] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): Positions

    Implicit information
    This member is added by an implicit conversion from Positions to Ensuring[Positions] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): Positions

    Implicit information
    This member is added by an implicit conversion from Positions to Ensuring[Positions] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Positions to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. lazy val posAssigner: PosAssigner

    Attributes
    protected[this]
    Definition Classes
    PositionsPositions
  28. def rangePos(source: SourceFile, start: Int, point: Int, end: Int): OffsetPosition

  29. val self: Any

    Implicit information
    This member is added by an implicit conversion from Positions to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  30. val self: Any

    Implicit information
    This member is added by an implicit conversion from Positions to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def validatePositions(tree: Tree): Unit

  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. def wrappingPos(trees: List[Tree]): Position

    A position that wraps the non-empty set of trees.

    A position that wraps the non-empty set of trees. The point of the wrapping position is the point of the first trees' position. If all some the trees are non-synthetic, returns a range position enclosing the non-synthetic trees Otherwise returns a synthetic offset position to point.

    Definition Classes
    Positions → Positions
  38. def wrappingPos(default: Position, trees: List[Tree]): Position

    A position that wraps a set of trees.

    A position that wraps a set of trees. The point of the wrapping position is the point of the default position. If some of the trees are ranges, returns a range position enclosing all ranges Otherwise returns default position.

    Definition Classes
    Positions → Positions
  39. def [B](y: B): (Positions, B)

    Implicit information
    This member is added by an implicit conversion from Positions to ArrowAssoc[Positions] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: Positions

    Implicit information
    This member is added by an implicit conversion from Positions to ArrowAssoc[Positions] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Positions

    Implicit information
    This member is added by an implicit conversion from Positions to Ensuring[Positions] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Positions

Inherited from Positions

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from Positions to StringFormat

Inherited by implicit conversion any2stringadd from Positions to StringAdd

Inherited by implicit conversion any2ArrowAssoc from Positions to ArrowAssoc[Positions]

Inherited by implicit conversion any2Ensuring from Positions to Ensuring[Positions]