class SymbolLoaders

A base class for Symbol loaders with some overridable behavior

Constructors

SymbolLoaders ( )

Members

class PackageLoader

Load contents of a package

Load contents of a package

[+] def binaryOnly ( owner: Symbol , name: String ) ( implicit ctx: Context ) : Boolean

The package objects of scala and scala.reflect should always be loaded in binary if classfiles are available, even if sourcefiles are newer. Late-compil...

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.

def enterClass ( owner: Symbol , name: PreName , completer: SymbolLoader , flags: FlagSet , scope: Scope ) ( implicit ctx: Context ) : Symbol

Enter class with given name into scope of owner.

Enter class with given name into scope of owner.

def enterClass$default$4 : R

Enter class with given name into scope of owner.

Enter class with given name into scope of owner.

def enterClass$default$5 : EmptyScope.type

Enter class with given name into scope of owner.

Enter class with given name into scope of owner.

def enterClassAndModule ( owner: Symbol , name: PreName , completer: SymbolLoader , flags: FlagSet , scope: Scope ) ( implicit ctx: Context ) : Unit

Enter class and module with given name into scope of owner and give them completer as type.

Enter class and module with given name into scope of owner and give them completer as type.

def enterClassAndModule$default$4 : R

Enter class and module with given name into scope of owner and give them completer as type.

Enter class and module with given name into scope of owner and give them completer as type.

def enterClassAndModule$default$5 : EmptyScope.type

Enter class and module with given name into scope of owner and give them completer as type.

Enter class and module with given name into scope of owner and give them completer as type.

def enterModule ( owner: Symbol , name: PreName , completer: SymbolLoader , modFlags: FlagSet , clsFlags: FlagSet , scope: Scope ) ( implicit ctx: Context ) : Symbol

Enter module with given name into scope of owner.

Enter module with given name into scope of owner.

def enterModule$default$4 : R

Enter module with given name into scope of owner.

Enter module with given name into scope of owner.

def enterModule$default$5 : R

Enter module with given name into scope of owner.

Enter module with given name into scope of owner.

def enterModule$default$6 : EmptyScope.type

Enter module with given name into scope of owner.

Enter module with given name into scope of owner.

protected def enterNew ( owner: Symbol , member: Symbol , completer: SymbolLoader , scope: Scope ) ( implicit ctx: Context ) : Symbol
def enterNew$default$4 : EmptyScope.type
def enterPackage ( owner: Symbol , pname: TermName , completer: (TermSymbol, ClassSymbol) => PackageLoader ) ( implicit ctx: Context ) : Symbol

Enter package with given name into scope of owner and give them completer as type.

Enter package with given name into scope of owner and give them completer as type.

[+] def enterToplevelsFromSource ( owner: Symbol , name: PreName , src: AbstractFile , scope: Scope ) ( implicit ctx: Context ) : Unit

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

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

[+] def enterToplevelsFromSource$default$4 : EmptyScope.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...

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

def initializeFromClassPath ( owner: Symbol , classRep: ClassRepresentation ) ( implicit ctx: Context ) : Unit

Initialize toplevel class and module symbols in owner from class path representation classRep

Initialize toplevel class and module symbols in owner from class path representation classRep

def needCompile ( bin: AbstractFile , src: AbstractFile ) : Boolean