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. val compiledFiles: HashSet[String]

  21. def compiles(sym: Symbol): Boolean

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

  22. var currentUnit: CompilationUnit

    The currently compiled unit; set from GlobalPhase

  23. var deprecationWarnings: Int

    Counts for certain classes of warnings during this run.

  24. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  26. val erasurePhase: Phase

  27. val explicitouterPhase: Phase

  28. def finalize(): Unit

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

  30. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  32. val icodePhase: Phase

  33. 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.

  34. var isDefined: Boolean

  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. val jvmPhase: Phase

  37. val mixinPhase: Phase

  38. val namerPhase: Phase

  39. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  42. val parserPhase: Phase

  43. def phaseNamed(name: String): Phase

  44. val picklerPhase: Phase

  45. lazy val profiler: Profiling

  46. 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

  47. val refchecksPhase: Phase

  48. def registerPickle(sym: Symbol): Unit

  49. def reportCompileErrors(): Unit

  50. def runCheckers(): Unit

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

  52. def runIsPast(ph: Phase): Boolean

  53. def size: Int

  54. def skipPhase(name: String): Boolean

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

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

    A map from compiled top-level symbols to their picklers

  57. val symSource: HashMap[Symbol, AbstractFile]

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

  58. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  59. def toString(): String

    Definition Classes
    AnyRef → Any
  60. object trackerFactory extends SymbolTrackers

  61. val typerPhase: Phase

  62. var uncheckedWarnings: Int

  63. val uncurryPhase: Phase

  64. def units: Iterator[CompilationUnit]

  65. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any