class TyperRun extends Run
- Alphabetic
- By Inheritance
- TyperRun
- Run
- RunParsing
- RunReporting
- RunContextApi
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TyperRun()
Value Members
-
object
trackerFactory
extends SymbolTrackers
- Definition Classes
- Run
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (TyperRun, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
advancePhase(): Unit
take note that phase is completed (for progress reporting)
take note that phase is completed (for progress reporting)
- Definition Classes
- Run
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canRedefine(sym: Global.Symbol): Boolean
canRedefine is used to detect double declarations of classes and objects in multiple source files.
-
def
cancel(): Unit
- Definition Classes
- Run
-
val
cleanupPhase: Phase
- Definition Classes
- Run
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
-
def
compileFiles(files: List[AbstractFile]): Unit
Compile list of abstract files.
Compile list of abstract files.
- Definition Classes
- Run
-
def
compileLate(unit: Global.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
-
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
-
def
compileSources(sources: List[SourceFile]): Unit
Compile list of source files, unless there is a problem already, such as a plugin was passed a bad option.
Compile list of source files, unless there is a problem already, such as a plugin was passed a bad option.
- Definition Classes
- Run
-
def
compileUnits(units: List[Global.CompilationUnit], fromPhase: Phase): Unit
- Definition Classes
- Run
-
val
compiledFiles: HashSet[String]
- Definition Classes
- Run
-
def
compiles(sym: Global.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
-
var
currentUnit: Global.CompilationUnit
The currently compiled unit; set from GlobalPhase
The currently compiled unit; set from GlobalPhase
- Definition Classes
- Run → RunContextApi
-
val
delambdafyPhase: Phase
- Definition Classes
- Run
-
def
deprecationWarnings: List[(Global.Position, String)]
- Definition Classes
- Run
- def ensuring(cond: (TyperRun) ⇒ Boolean, msg: ⇒ Any): TyperRun
- def ensuring(cond: (TyperRun) ⇒ Boolean): TyperRun
- def ensuring(cond: Boolean, msg: ⇒ Any): TyperRun
- def ensuring(cond: Boolean): TyperRun
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
erasurePhase: Phase
- Definition Classes
- Run
-
val
explicitouterPhase: Phase
- Definition Classes
- Run
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
flattenPhase: Phase
- Definition Classes
- Run
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
informUnitStarting(phase: Phase, unit: Global.CompilationUnit): Unit
For subclasses to override.
For subclasses to override. Called when
phase
is about to be run onunit
. Variables are passed explicitly to indicate thatglobalPhase
andcurrentUnit
have been set.- Definition Classes
- Run
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
jvmPhase: Phase
- Definition Classes
- Run
-
val
lambdaliftPhase: Phase
- Definition Classes
- Run
-
val
mixinPhase: Phase
- Definition Classes
- Run
-
val
namerPhase: Phase
- Definition Classes
- Run
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
parserPhase: Phase
All phases as of 3/2012 here for handiness; the ones in active use uncommented.
All phases as of 3/2012 here for handiness; the ones in active use uncommented.
- Definition Classes
- Run
-
val
parsing: Global.PerRunParsing
- Definition Classes
- RunParsing
-
def
phaseNamed(name: String): Phase
- Definition Classes
- Run
-
val
picklerPhase: Phase
- Definition Classes
- Run
-
val
posterasurePhase: Phase
- Definition Classes
- Run
-
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
-
val
refchecksPhase: Phase
- Definition Classes
- Run
-
def
registerPickle(sym: Global.Symbol): Unit
- Definition Classes
- Run
-
val
reporting: Global.PerRunReporting
- Definition Classes
- RunReporting
-
def
runCheckers(): Unit
- Attributes
- protected
- Definition Classes
- Run
-
val
runDefinitions: reflect.internal.Definitions.definitions.RunDefinitions
Caching member symbols that are def-s in Definitions because they might change from Run to Run.
Caching member symbols that are def-s in Definitions because they might change from Run to Run.
- Definition Classes
- Run
-
def
runIsAt(ph: Phase): Boolean
- Definition Classes
- Run
-
def
runIsAtOptimiz: Boolean
- Definition Classes
- Run
-
def
size: Int
- Definition Classes
- Run
-
def
skipPhase(name: String): Boolean
Should we skip the given phase?
Should we skip the given phase?
- Attributes
- protected
- Definition Classes
- Run
-
val
specializePhase: Phase
- Definition Classes
- Run
-
def
stopPhase(name: String): Boolean
Should we stop right before entering the given phase?
Should we stop right before entering the given phase?
- Attributes
- protected
- Definition Classes
- Run
-
val
symData: HashMap[Global.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
-
val
symSource: HashMap[Global.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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Run → AnyRef → Any
- def typeCheck(unit: Global.CompilationUnit): Unit
-
val
typerPhase: Phase
- Definition Classes
- Run
-
def
uncheckedWarnings: List[(Global.Position, String)]
- Definition Classes
- Run
-
val
uncurryPhase: Phase
- Definition Classes
- Run
-
def
units: Iterator[Global.CompilationUnit]
- Definition Classes
- Run → RunContextApi
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (TyperRun, B)
The Scala compiler and reflection APIs.