scala.tools.nsc.Global

Run

class Run extends AnyRef

A Run is a single execution of the compiler on a sets of units

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

Instance Constructors

  1. new Run()

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)

  7. def advanceUnit(): Unit

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

  8. final def asInstanceOf[T0]: T0

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

    Is this run allowed to redefine the given symbol? Usually this is true if the run does not already compile sym, but for interactive mode we have a more liberal interpretation.

  10. def cancel(): Unit

  11. val cleanupPhase: Phase

  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

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

    Compile list of abstract files.

  15. def compileLate(unit: CompilationUnit): Unit

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

  16. def compileLate(file: AbstractFile): Unit

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

  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.

  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.

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

    Compile list of source files

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

    Compile list of units, starting with phase fromPhase

  21. val compiledFiles: HashSet[String]

  22. def compiles(sym: Symbol): Boolean

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

  23. var currentUnit: CompilationUnit

    The currently compiled unit; set from GlobalPhase

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

    Counts for certain classes of warnings during this 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

  28. val explicitouterPhase: Phase

  29. def finalize(): Unit

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

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

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

    Definition Classes
    AnyRef → Any
  33. val icodePhase: Phase

  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.

  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.

  36. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  37. val jvmPhase: Phase

  38. var macroExpansionFailed: Boolean

    A flag whether macro expansions failed

  39. val mixinPhase: Phase

  40. val namerPhase: Phase

  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

  45. def phaseNamed(name: String): Phase

  46. val picklerPhase: Phase

  47. lazy val profiler: Profiling

  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

  49. val refchecksPhase: Phase

  50. def registerPickle(sym: Symbol): Unit

  51. def reportCompileErrors(): Unit

  52. def resetProjectClasses(root: Symbol): Unit

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

  53. def runCheckers(): Unit

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

  55. def runIsPast(ph: Phase): Boolean

  56. def size: Int

  57. def skipPhase(name: String): Boolean

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

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

    A map from compiled top-level symbols to their picklers

  60. val symSource: HashMap[Symbol, AbstractFile]

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

  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. val typerPhase: Phase

  65. var uncheckedWarnings: List[(Position, String)]

  66. val uncurryPhase: Phase

  67. def units: Iterator[CompilationUnit]

  68. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any