Packages

c

scala.tools.nsc.symtab

BrowsingLoaders

abstract class BrowsingLoaders extends GlobalSymbolLoaders

A subclass of SymbolLoaders that implements browsing behavior. This class should be used whenever file dependencies and recompile sets are managed automatically.

Source
BrowsingLoaders.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BrowsingLoaders
  2. GlobalSymbolLoaders
  3. SymbolLoaders
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BrowsingLoaders()

Type Members

  1. class ClassfileLoader extends SymbolLoader with (symbolTable)#FlagAssigningCompleter
    Definition Classes
    SymbolLoaders
  2. class PackageLoader extends SymbolLoader with (symbolTable)#FlagAgnosticCompleter

    Loads contents of a package

    Loads contents of a package

    Definition Classes
    SymbolLoaders
  3. class SourcefileLoader extends SymbolLoader with (symbolTable)#FlagAssigningCompleter
    Definition Classes
    SymbolLoaders
  4. abstract class SymbolLoader extends (symbolTable)#SymLoader

    A lazy type that completes itself by calling parameter doComplete.

    A lazy type that completes itself by calling parameter doComplete. Any linked modules/classes or module classes are also initialized. Todo: consider factoring out behavior from TopClassCompleter/SymbolLoader into supertrait SymLoader

    Definition Classes
    SymbolLoaders

Abstract Value Members

  1. abstract val global: Global
    Definition Classes
    BrowsingLoadersGlobalSymbolLoaders
  2. abstract val platform: Global.platform
    Definition Classes
    GlobalSymbolLoadersSymbolLoaders

Concrete Value Members

  1. def binaryOnly(owner: Global.Symbol, name: String): Boolean

    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.

    Definition Classes
    SymbolLoaders
  2. def browseTopLevel(root: Global.Symbol, src: AbstractFile): Unit

    Browse the top-level of given abstract file src and enter any encountered top-level classes and modules in root

  3. def enterClass(owner: Global.Symbol, clazz: Global.ClassSymbol, completer: SymbolLoader): Global.Symbol
    Definition Classes
    SymbolLoaders
  4. def enterClass(owner: Global.Symbol, name: String, completer: SymbolLoader): Global.Symbol

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

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

    Definition Classes
    SymbolLoaders
  5. def enterClassAndModule(root: Global.Symbol, name: String, getCompleter: (Global.ClassSymbol, Global.ModuleSymbol) ⇒ SymbolLoader): Unit

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

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

    Definition Classes
    SymbolLoaders
  6. def enterModule(owner: Global.Symbol, module: Global.ModuleSymbol, completer: SymbolLoader): Global.Symbol
    Definition Classes
    SymbolLoaders
  7. def enterModule(owner: Global.Symbol, name: String, completer: SymbolLoader): Global.Symbol

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

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

    Definition Classes
    SymbolLoaders
  8. def enterPackage(root: Global.Symbol, name: String, completer: SymbolLoader): Global.Symbol

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

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

    Definition Classes
    SymbolLoaders
  9. def enterToplevelsFromSource(root: Global.Symbol, name: String, src: AbstractFile): Unit

    Enter top-level symbols from a source file

    Enter top-level symbols from a source file

    Definition Classes
    BrowsingLoadersSymbolLoaders
  10. def initializeFromClassPath(owner: Global.Symbol, classRep: ClassRepresentation): 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

    Definition Classes
    SymbolLoaders
  11. def lookupMemberAtTyperPhaseIfPossible(sym: Global.Symbol, name: Global.Name): Global.Symbol

    Required by ClassfileParser.

    Required by ClassfileParser. Check documentation in that class for details.

    Definition Classes
    GlobalSymbolLoadersSymbolLoaders
  12. def newClass(owner: Global.Symbol, name: String): Global.ClassSymbol
    Definition Classes
    SymbolLoaders
  13. def newModule(owner: Global.Symbol, name: String): Global.ModuleSymbol
    Definition Classes
    SymbolLoaders
  14. var parentsLevel: Int

    used from classfile parser to avoid cycles

    used from classfile parser to avoid cycles

    Definition Classes
    SymbolLoaders
  15. var pendingLoadActions: List[() ⇒ Unit]
    Definition Classes
    SymbolLoaders
  16. val symbolTable: global.type
    Definition Classes
    GlobalSymbolLoadersSymbolLoaders
  17. object moduleClassLoader extends SymbolLoader with (symbolTable)#FlagAssigningCompleter
    Definition Classes
    SymbolLoaders