Scala Compiler2.13.15 < 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
-  package typechecker
  Definition Classes
    nsc
-  trait Analyzer extends Contexts with Namers with Typers with Infer with Implicits with EtaExpansion with SyntheticMethods with Unapplies with Macros with NamesDefaults with TypeDiagnostics with ContextErrors with StdAttachments with MacroAnnotationAttachments with AnalyzerPlugins

  Defines the sub-components for the namer, packageobjects, and typer phases.

  Defines the sub-components for the namer, packageobjects, and typer phases.

  Definition Classes
    typechecker
-  object typerFactory extends SubComponent
  Definition Classes
    Analyzer
- StdPhase
- TyperPhase

c

scala.tools.nsc.typechecker.Analyzer.typerFactory

# TyperPhase

###

#### final class TyperPhase extends StdPhase

Source
  Analyzer.scala

Linear Supertypes
typerFactory.StdPhase, GlobalPhase, reflect.internal.Phase, math.Ordered[reflect.internal.Phase], Comparable[reflect.internal.Phase], AnyRef, Any
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. TyperPhase
2. StdPhase
3. GlobalPhase
4. Phase
5. Ordered
6. Comparable
7. AnyRef
8. 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 TyperPhase(prev: Phase)

### Type Members

1.  type Id = Int
   Definition Classes
     Phase

### 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 TyperPhase toany2stringadd[TyperPhase] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (TyperPhase, B)
   Implicit
     This member is added by an implicit conversion from TyperPhase toArrowAssoc[TyperPhase] 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.  def addCheckAfterTyper(check: ToCheckAfterTyper): Unit
11.  def apply(unit: Global.CompilationUnit): Unit
    Definition Classes
      TyperPhase → GlobalPhase
12.  final def applyPhase(unit: Global.CompilationUnit): Unit
    Definition Classes
      GlobalPhase
13.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
14.  final val assignsFields: Boolean
    Definition Classes
      Phase
15.  def cancelled(unit: Global.CompilationUnit): Boolean

    Is current phase cancelled on this unit?

    Is current phase cancelled on this unit?

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

### Shadowed Implicit Value Members

1.  def <(that: TyperPhase): Boolean
   Implicit
     This member is added by an implicit conversion from TyperPhase tomath.Ordered[TyperPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[TyperPhase] 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:

         (typerPhase: math.Ordered[TyperPhase]).<(that)

   Definition Classes
     Ordered
2.  def <=(that: TyperPhase): Boolean
   Implicit
     This member is added by an implicit conversion from TyperPhase tomath.Ordered[TyperPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[TyperPhase] 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:

         (typerPhase: math.Ordered[TyperPhase]).<=(that)

   Definition Classes
     Ordered
3.  def >(that: TyperPhase): Boolean
   Implicit
     This member is added by an implicit conversion from TyperPhase tomath.Ordered[TyperPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[TyperPhase] 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:

         (typerPhase: math.Ordered[TyperPhase]).>(that)

   Definition Classes
     Ordered
4.  def >=(that: TyperPhase): Boolean
   Implicit
     This member is added by an implicit conversion from TyperPhase tomath.Ordered[TyperPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[TyperPhase] 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:

         (typerPhase: math.Ordered[TyperPhase]).>=(that)

   Definition Classes
     Ordered
5.  def compare(that: TyperPhase): Int
   Implicit
     This member is added by an implicit conversion from TyperPhase tomath.Ordered[TyperPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[TyperPhase] 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:

         (typerPhase: math.Ordered[TyperPhase]).compare(that)

   Definition Classes
     Ordered
6.  def compareTo(that: TyperPhase): Int
   Implicit
     This member is added by an implicit conversion from TyperPhase tomath.Ordered[TyperPhase] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[TyperPhase] 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:

         (typerPhase: math.Ordered[TyperPhase]).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 TyperPhase toStringFormat[TyperPhase] 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

     (Since version 2.13) Unused, inlined in applyPhase

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

     (Since version 2.13) Unused, see withCurrentUnit

4.  def →[B](y: B): (TyperPhase, B)
   Implicit
     This member is added by an implicit conversion from TyperPhase toArrowAssoc[TyperPhase] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from typerFactory.StdPhase

### 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 fromTyperPhase to math.Ordered[TyperPhase]

### Inherited by implicit conversion any2stringadd fromTyperPhase to any2stringadd[TyperPhase]

### Inherited by implicit conversion StringFormat fromTyperPhase to StringFormat[TyperPhase]

### Inherited by implicit conversion Ensuring fromTyperPhase to Ensuring[TyperPhase]

### Inherited by implicit conversion ArrowAssoc fromTyperPhase to ArrowAssoc[TyperPhase]

### Ungrouped