scala.tools.nsc.interactive.Global

TyperRun

class TyperRun extends Run

The typer run

Source
Global.scala
Linear Supertypes
Run, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. TyperRun
  2. Run
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TyperRun()

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. def advancePhase(): Unit

    take note that phase is completed (for progress reporting)

    take note that phase is completed (for progress reporting)

    Definition Classes
    Run
  7. def advanceUnit(): Unit

    take note that a phase on a unit is completed (for progress reporting)

    take note that a phase on a unit is completed (for progress reporting)

    Definition Classes
    Run
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def canRedefine(sym: Symbol): Boolean

    canRedefine is used to detect double declarations of classes and objects in multiple source files.

    canRedefine is used to detect double declarations of classes and objects in multiple source files. Since the IDE rechecks units several times in the same run, these tests are disabled by always returning true here.

    Definition Classes
    TyperRunRun
  10. def cancel(): Unit

    Definition Classes
    Run
  11. val cleanupPhase: Phase

    Definition Classes
    Run
  12. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def compile(filenames: List[String]): Unit

    Compile list of files given by their names

    Compile list of files given by their names

    Definition Classes
    Run
  14. def compileFiles(files: List[AbstractFile]): Unit

    Compile list of abstract files.

    Compile list of abstract files.

    Definition Classes
    Run
  15. def compileLate(unit: CompilationUnit): Unit

    Compile abstract file until globalPhase, but at least to phase "namer".

    Compile abstract file until globalPhase, but at least to phase "namer".

    Definition Classes
    Run
  16. def compileLate(file: AbstractFile): Unit

    Compile abstract file until globalPhase, but at least to phase "namer".

    Compile abstract file until globalPhase, but at least to phase "namer".

    Definition Classes
    Run
  17. def compileSourceFor(qual: Tree, name: Name): Boolean

    Attempt to locate a source file providing the given name as a top-level definition with the given prefix, and add it to the run via compileLate if found.

    Attempt to locate a source file providing the given name as a top-level definition with the given prefix, and add it to the run via compileLate if found.

    Definition Classes
    Run
  18. def compileSourceFor(context: Context, name: Name): Boolean

    Attempt to locate a source file providing the given name as a top-level definition in the given context, and add it to the run via compileLate if found.

    Attempt to locate a source file providing the given name as a top-level definition in the given context, and add it to the run via compileLate if found.

    Definition Classes
    Run
  19. def compileSources(_sources: List[SourceFile]): Unit

    Compile list of source files

    Compile list of source files

    Definition Classes
    Run
  20. def compileUnits(units: List[CompilationUnit], fromPhase: Phase): Unit

    Compile list of units, starting with phase fromPhase

    Compile list of units, starting with phase fromPhase

    Definition Classes
    Run
  21. val compiledFiles: HashSet[String]

    Definition Classes
    Run
  22. def compiles(sym: Symbol): Boolean

    does this run compile given class, module, or case factory?

    does this run compile given class, module, or case factory?

    Definition Classes
    Run
  23. var currentUnit: CompilationUnit

    The currently compiled unit; set from GlobalPhase

    The currently compiled unit; set from GlobalPhase

    Definition Classes
    Run
  24. var deprecationWarnings: List[(Position, String)]

    Counts for certain classes of warnings during this run.

    Counts for certain classes of warnings during this run.

    Definition Classes
    Run
  25. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  27. val erasurePhase: Phase

    Definition Classes
    Run
  28. val explicitouterPhase: Phase

    Definition Classes
    Run
  29. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. val flattenPhase: Phase

    Definition Classes
    Run
  31. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  33. val icodePhase: Phase

    Definition Classes
    Run
  34. def informUnitStarting(phase: Phase, unit: CompilationUnit): Unit

    For subclasses to override.

    For subclasses to override. Called when phase is about to be run on unit. Variables are passed explicitly to indicate that globalPhase and currentUnit have been set.

    Definition Classes
    Run
  35. var isDefined: Boolean

    Have been running into too many init order issues with Run during erroneous conditions.

    Have been running into too many init order issues with Run during erroneous conditions. Moved all these vals up to the top of the file so at least they're not trivially null.

    Definition Classes
    Run
  36. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  37. val jvmPhase: Phase

    Definition Classes
    Run
  38. var macroExpansionFailed: Boolean

    A flag whether macro expansions failed

    A flag whether macro expansions failed

    Definition Classes
    Run
  39. val mixinPhase: Phase

    Definition Classes
    Run
  40. val namerPhase: Phase

    Definition Classes
    Run
  41. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  44. val parserPhase: Phase

    Definition Classes
    Run
  45. def phaseNamed(name: String): Phase

    Definition Classes
    Run
  46. val picklerPhase: Phase

    Definition Classes
    Run
  47. lazy val profiler: Profiling

    Definition Classes
    Run
  48. def progress(current: Int, total: Int): Unit

    Progress tracking.

    Progress tracking. Measured in "progress units" which are 1 per compilation unit per phase completed.

    current

    number of "progress units" completed

    total

    total number of "progress units" in run

    Definition Classes
    Run
  49. val refchecksPhase: Phase

    Definition Classes
    Run
  50. def registerPickle(sym: Symbol): Unit

    Definition Classes
    Run
  51. def reportCompileErrors(): Unit

    Definition Classes
    Run
  52. def resetProjectClasses(root: Symbol): Unit

    Reset all classes contained in current project, as determined by the clearOnNextRun hook

    Reset all classes contained in current project, as determined by the clearOnNextRun hook

    Definition Classes
    Run
  53. def runCheckers(): Unit

    Attributes
    protected
    Definition Classes
    Run
  54. def runIsAt(ph: Phase): Boolean

    Definition Classes
    Run
  55. def runIsPast(ph: Phase): Boolean

    Definition Classes
    Run
  56. def size: Int

    Definition Classes
    Run
  57. def skipPhase(name: String): Boolean

    Attributes
    protected
    Definition Classes
    Run
  58. def stopPhase(name: String): Boolean

    Attributes
    protected
    Definition Classes
    Run
  59. val symData: HashMap[Symbol, PickleBuffer]

    A map from compiled top-level symbols to their picklers

    A map from compiled top-level symbols to their picklers

    Definition Classes
    Run
  60. val symSource: HashMap[Symbol, AbstractFile]

    A map from compiled top-level symbols to their source files

    A map from compiled top-level symbols to their source files

    Definition Classes
    Run
  61. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  62. def toString(): String

    Definition Classes
    Run → AnyRef → Any
  63. object trackerFactory extends SymbolTrackers

  64. def typeCheck(unit: CompilationUnit): Unit

  65. val typerPhase: Phase

    Definition Classes
    Run
  66. var uncheckedWarnings: List[(Position, String)]

    Definition Classes
    Run
  67. val uncurryPhase: Phase

    Definition Classes
    Run
  68. def units: Iterator[CompilationUnit]

    Definition Classes
    Run
  69. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Run

Inherited from AnyRef

Inherited from Any