Scala Compiler2.12.16 < Back
 

# 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

  An nsc sub-component.

  An nsc sub-component.

  Definition Classes
    nsc
- StdPhase

c

scala.tools.nsc.SubComponent

# StdPhase 

###

#### abstract class StdPhase extends GlobalPhase

A standard phase template

Source
  SubComponent.scala

Linear Supertypes
GlobalPhase, reflect.internal.Phase, math.Ordered[reflect.internal.Phase], Comparable[reflect.internal.Phase], AnyRef, Any
Known Subclasses
ParserPhase, BCodePhase, PicklePhase, SkipPhase, Phase, Phase, SpecializationPhase, Phase, Phase, TyperPhase
 
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. All

### 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.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from StdPhase to any2stringadd[StdPhase] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (StdPhase, B)
   Implicit
     This member is added by an implicit conversion from StdPhase to ArrowAssoc[StdPhase] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  def <(that: reflect.internal.Phase): Boolean
   Definition Classes
     Ordered
6.  def <=(that: reflect.internal.Phase): Boolean
   Definition Classes
     Ordered
7.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
8.  def >(that: reflect.internal.Phase): Boolean
   Definition Classes
     Ordered
9.  def >=(that: reflect.internal.Phase): Boolean
   Definition Classes
     Ordered
10.  final def applyPhase(unit: Global.CompilationUnit): Unit
    Definition Classes
      GlobalPhase
11.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
12.  final val assignsFields: Boolean
    Definition Classes
      Phase
13.  def cancelled(unit: Global.CompilationUnit): Boolean

    Is current phase cancelled on this unit?

    Is current phase cancelled on this unit?

    Definition Classes
      GlobalPhase
14.  def checkable: Boolean
    Definition Classes
      Phase
15.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
16.  def compare(that: reflect.internal.Phase): Id
    Definition Classes
      Phase → Ordered
17.  def compareTo(that: reflect.internal.Phase): Int
    Definition Classes
      Ordered → Comparable
18.  def description: String
    Definition Classes
      Phase
19.  def ensuring(cond: (StdPhase) ⇒ Boolean, msg: ⇒ Any): StdPhase
    Implicit
      This member is added by an implicit conversion from StdPhase to Ensuring[StdPhase] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
20.  def ensuring(cond: (StdPhase) ⇒ Boolean): StdPhase
    Implicit
      This member is added by an implicit conversion from StdPhase to Ensuring[StdPhase] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
21.  def ensuring(cond: Boolean, msg: ⇒ Any): StdPhase
    Implicit
      This member is added by an implicit conversion from StdPhase to Ensuring[StdPhase] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
22.  def ensuring(cond: Boolean): StdPhase
    Implicit
      This member is added by an implicit conversion from StdPhase to Ensuring[StdPhase] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
23.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
24.  def equals(other: Any): Boolean
    Definition Classes
      Phase → AnyRef → Any
25.  final def erasedTypes: Boolean
    Definition Classes
      Phase
26.  def erasedTypes_=(value: Boolean): Unit
    Attributes
      protected
    Definition Classes
      Phase
27.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
28.  def flagMask: Long
    Definition Classes
      Phase
29.  final val flatClasses: Boolean
    Definition Classes
      Phase
30.  val fmask: Long
    Definition Classes
      Phase
31.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
32.  def hasNext: Boolean
    Definition Classes
      Phase
33.  def hashCode(): Int
    Definition Classes
      Phase → AnyRef → Any
34.  val id: Id
    Definition Classes
      Phase
35.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
36.  def iterator: collection.Iterator[reflect.internal.Phase]
    Definition Classes
      Phase
37.  def keepsTypeParams: Boolean
    Definition Classes
      Phase
38.  def name: String
    Definition Classes
      StdPhase → Phase
39.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
40.  def newFlags: Long
    Definition Classes
      StdPhase → Phase
41.  def next: reflect.internal.Phase
    Definition Classes
      Phase
42.  def nextFlags: Long
    Definition Classes
      StdPhase → Phase
43.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
44.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
45.  val prev: reflect.internal.Phase
    Definition Classes
      Phase
46.  final val refChecked: Boolean
    Definition Classes
      Phase
47.  def run(): Unit
    Definition Classes
      GlobalPhase → Phase
48.  def shouldSkipThisPhaseForJava: Boolean
    Attributes
      protected
    Definition Classes
      GlobalPhase
49.  final val specialized: Boolean
    Definition Classes
      Phase
50.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
51.  def toString(): String
    Definition Classes
      Phase → AnyRef → Any
52.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
53.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
54.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
55.  final def withCurrentUnitNoLog(unit: Global.CompilationUnit)(task: ⇒ Unit): Unit
    Definition Classes
      GlobalPhase
    Annotations
      @inline()
56.  def →[B](y: B): (StdPhase, B)
    Implicit
      This member is added by an implicit conversion from StdPhase to ArrowAssoc[StdPhase] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Shadowed Implicit Value Members

1.  def <(that: StdPhase): Boolean
   Implicit
     This member is added by an implicit conversion from StdPhase to math.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 to math.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 to math.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 to math.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 to math.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 to math.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.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from StdPhase to StringFormat[StdPhase] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

2.  final def withCurrentUnit(unit: Global.CompilationUnit)(task: ⇒ Unit): Unit
   Definition Classes
     GlobalPhase
   Annotations
     @deprecated
   Deprecated

### Inherited from GlobalPhase

### Inherited from reflect.internal.Phase

### Inherited from math.Ordered[reflect.internal.Phase]

### Inherited from Comparable[reflect.internal.Phase]

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion orderingToOrdered from StdPhase to math.Ordered[StdPhase]

### Inherited by implicit conversion any2stringadd from StdPhase to any2stringadd[StdPhase]

### Inherited by implicit conversion StringFormat from StdPhase to StringFormat[StdPhase]

### Inherited by implicit conversion Ensuring from StdPhase to Ensuring[StdPhase]

### Inherited by implicit conversion ArrowAssoc from StdPhase to ArrowAssoc[StdPhase]

### Ungrouped