Packages

  • package root

    The Scala compiler and reflection APIs.

    The Scala compiler and reflection APIs.

    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package tools
    Definition Classes
    scala
  • package nsc
    Definition Classes
    tools
  • abstract class SubComponent extends AnyRef

    Compilation is split into phases and the sub-components of the compiler define such phases.

    Compilation is split into phases and the sub-components of the compiler define such phases.

    Definition Classes
    nsc
  • StdPhase

abstract class StdPhase extends GlobalPhase

A standard phase template

Source
SubComponent.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StdPhase
  2. GlobalPhase
  3. Phase
  4. Ordered
  5. Comparable
  6. AnyRef
  7. Any
Implicitly
  1. by orderingToOrdered
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StdPhase(prev: Phase)

Type Members

  1. type Id = Int
    Definition Classes
    Phase

Abstract Value Members

  1. abstract def apply(unit: Global.CompilationUnit): Unit
    Definition Classes
    GlobalPhase

Concrete Value Members

  1. def <(that: reflect.internal.Phase): Boolean
    Definition Classes
    Ordered
  2. def <=(that: reflect.internal.Phase): Boolean
    Definition Classes
    Ordered
  3. def >(that: reflect.internal.Phase): Boolean
    Definition Classes
    Ordered
  4. def >=(that: reflect.internal.Phase): Boolean
    Definition Classes
    Ordered
  5. final def applyPhase(unit: Global.CompilationUnit): Unit
    Definition Classes
    GlobalPhase
  6. final val assignsFields: Boolean
    Definition Classes
    Phase
  7. def cancelled(unit: Global.CompilationUnit): Boolean

    Is current phase cancelled on this unit?

    Is current phase cancelled on this unit?

    Definition Classes
    GlobalPhase
  8. def checkable: Boolean
    Definition Classes
    Phase
  9. def compare(that: reflect.internal.Phase): Id
    Definition Classes
    Phase → Ordered
  10. def compareTo(that: reflect.internal.Phase): Int
    Definition Classes
    Ordered → Comparable
  11. def description: String
    Definition Classes
    Phase
  12. def equals(other: Any): Boolean
    Definition Classes
    Phase → AnyRef → Any
  13. final val erasedTypes: Boolean
    Definition Classes
    Phase
  14. def flagMask: Long
    Definition Classes
    Phase
  15. final val flatClasses: Boolean
    Definition Classes
    Phase
  16. val fmask: Long
    Definition Classes
    Phase
  17. def hasNext: Boolean
    Definition Classes
    Phase
  18. def hashCode(): Int
    Definition Classes
    Phase → AnyRef → Any
  19. val id: Id
    Definition Classes
    Phase
  20. def iterator: collection.Iterator[reflect.internal.Phase]
    Definition Classes
    Phase
  21. def keepsTypeParams: Boolean
    Definition Classes
    Phase
  22. def name: String
    Definition Classes
    StdPhase → Phase
  23. def newFlags: Long
    Definition Classes
    StdPhase → Phase
  24. def next: reflect.internal.Phase
    Definition Classes
    Phase
  25. def nextFlags: Long
    Definition Classes
    StdPhase → Phase
  26. val prev: reflect.internal.Phase
    Definition Classes
    Phase
  27. final val refChecked: Boolean
    Definition Classes
    Phase
  28. def run(): Unit
    Definition Classes
    GlobalPhase → Phase
  29. final val specialized: Boolean
    Definition Classes
    Phase
  30. def toString(): String
    Definition Classes
    Phase → AnyRef → Any

Shadowed Implicit Value Members

  1. def <(that: StdPhase): Boolean
    Implicit
    This member is added by an implicit conversion from StdPhase tomath.Ordered[StdPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[StdPhase] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (stdPhase: math.Ordered[StdPhase]).<(that)
    Definition Classes
    Ordered
  2. def <=(that: StdPhase): Boolean
    Implicit
    This member is added by an implicit conversion from StdPhase tomath.Ordered[StdPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[StdPhase] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (stdPhase: math.Ordered[StdPhase]).<=(that)
    Definition Classes
    Ordered
  3. def >(that: StdPhase): Boolean
    Implicit
    This member is added by an implicit conversion from StdPhase tomath.Ordered[StdPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[StdPhase] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (stdPhase: math.Ordered[StdPhase]).>(that)
    Definition Classes
    Ordered
  4. def >=(that: StdPhase): Boolean
    Implicit
    This member is added by an implicit conversion from StdPhase tomath.Ordered[StdPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[StdPhase] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (stdPhase: math.Ordered[StdPhase]).>=(that)
    Definition Classes
    Ordered
  5. def compare(that: StdPhase): Int
    Implicit
    This member is added by an implicit conversion from StdPhase tomath.Ordered[StdPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[StdPhase] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (stdPhase: math.Ordered[StdPhase]).compare(that)
    Definition Classes
    Ordered
  6. def compareTo(that: StdPhase): Int
    Implicit
    This member is added by an implicit conversion from StdPhase tomath.Ordered[StdPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[StdPhase] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (stdPhase: math.Ordered[StdPhase]).compareTo(that)
    Definition Classes
    Ordered → Comparable

Deprecated Value Members

  1. final def withCurrentUnit(unit: Global.CompilationUnit)(task: => Unit): Unit
    Definition Classes
    GlobalPhase
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13) Unused, inlined in applyPhase

  2. final def withCurrentUnitNoLog(unit: Global.CompilationUnit)(task: => Unit): Unit
    Definition Classes
    GlobalPhase
    Annotations
    @inline() @deprecated
    Deprecated

    (Since version 2.13) Unused, see withCurrentUnit