Load contents of a package
The package objects of scala and scala.reflect should always be loaded in binary if classfiles are available, even if sourcefiles are newer.
The package objects of scala and scala.reflect should always be loaded in binary if classfiles are available, even if sourcefiles are newer. Late-compiling these objects from source leads to compilation order issues. Note: We do a name-base comparison here because the method is called before we even have ReflectPackage defined.
Enter class with given name
into scope of owner
.
Enter class and module with given name
into scope of owner
and give them completer
as type.
Enter module with given name
into scope of owner
.
Enter package with given name
into scope of owner
and give them completer
as type.
In batch mode: Enter class and module with given name
into scope of owner
and give them a source completer for given src
as type.
In batch mode: Enter class and module with given name
into scope of owner
and give them a source completer for given src
as type.
In IDE mode: Find all toplevel definitions in src
and enter then into scope of owner
with source completer for given src
as type.
(overridden in interactive.Global).
Initialize toplevel class and module symbols in owner
from class path representation classRep
A base class for Symbol loaders with some overridable behavior