trait ZincSymbolLoaders extends GlobalSymbolLoaders with ZincPickleCompletion
- Alphabetic
- By Inheritance
- ZincSymbolLoaders
- ZincPickleCompletion
- GlobalSymbolLoaders
- SymbolLoaders
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
ClassfileLoader extends SymbolLoader with (scala.tools.nsc.symtab.SymbolLoaders.symbolTable)#FlagAssigningCompleter
- Definition Classes
- SymbolLoaders
-
class
PackageLoader extends SymbolLoader with (scala.tools.nsc.symtab.SymbolLoaders.symbolTable)#FlagAgnosticCompleter
- Definition Classes
- SymbolLoaders
-
class
SourcefileLoader extends SymbolLoader with (scala.tools.nsc.symtab.SymbolLoaders.symbolTable)#FlagAssigningCompleter
- Definition Classes
- SymbolLoaders
-
abstract
class
SymbolLoader extends (scala.tools.nsc.symtab.SymbolLoaders.symbolTable)#SymLoader
- Definition Classes
- SymbolLoaders
- final class ZincPickleLoader extends SymbolLoader with scala.tools.nsc.Global.FlagAssigningCompleter
Abstract Value Members
-
abstract
val
global: Global
- Definition Classes
- ZincPickleCompletion
-
abstract
val
platform: scala.tools.nsc.Global.platform
- Definition Classes
- GlobalSymbolLoaders → SymbolLoaders
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
binaryOnly(owner: scala.tools.nsc.Global.Symbol, name: String): Boolean
- Definition Classes
- SymbolLoaders
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compileLate(srcfile: AbstractFile): Unit
- Attributes
- protected
- Definition Classes
- GlobalSymbolLoaders → SymbolLoaders
-
def
enterClass(owner: scala.tools.nsc.Global.Symbol, clazz: scala.tools.nsc.Global.ClassSymbol, completer: SymbolLoader): scala.tools.nsc.Global.Symbol
- Definition Classes
- SymbolLoaders
-
def
enterClass(owner: scala.tools.nsc.Global.Symbol, name: String, completer: SymbolLoader): scala.tools.nsc.Global.Symbol
- Definition Classes
- SymbolLoaders
-
def
enterClassAndModule(root: scala.tools.nsc.Global.Symbol, name: String, getCompleter: (scala.tools.nsc.Global.ClassSymbol, scala.tools.nsc.Global.ModuleSymbol) ⇒ SymbolLoader): Unit
- Definition Classes
- SymbolLoaders
-
def
enterIfNew(owner: scala.tools.nsc.Global.Symbol, member: scala.tools.nsc.Global.Symbol, completer: SymbolLoader): scala.tools.nsc.Global.Symbol
- Attributes
- protected
- Definition Classes
- SymbolLoaders
-
def
enterModule(owner: scala.tools.nsc.Global.Symbol, module: scala.tools.nsc.Global.ModuleSymbol, completer: SymbolLoader): scala.tools.nsc.Global.Symbol
- Definition Classes
- SymbolLoaders
-
def
enterModule(owner: scala.tools.nsc.Global.Symbol, name: String, completer: SymbolLoader): scala.tools.nsc.Global.Symbol
- Definition Classes
- SymbolLoaders
-
def
enterPackage(root: scala.tools.nsc.Global.Symbol, name: String, completer: SymbolLoader): scala.tools.nsc.Global.Symbol
- Definition Classes
- SymbolLoaders
-
def
enterToplevelsFromSource(root: scala.tools.nsc.Global.Symbol, name: String, src: AbstractFile): Unit
- Definition Classes
- SymbolLoaders
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initializeFromClassPath(owner: scala.tools.nsc.Global.Symbol, classRep: ClassRepresentation): Unit
- Definition Classes
- ZincSymbolLoaders → SymbolLoaders
- val invalidatedClassFilePaths: HashSet[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lookupMemberAtTyperPhaseIfPossible(sym: scala.tools.nsc.Global.Symbol, name: scala.tools.nsc.Global.Name): scala.tools.nsc.Global.Symbol
- Definition Classes
- GlobalSymbolLoaders → SymbolLoaders
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newClass(owner: scala.tools.nsc.Global.Symbol, name: String): scala.tools.nsc.Global.ClassSymbol
- Definition Classes
- SymbolLoaders
-
def
newModule(owner: scala.tools.nsc.Global.Symbol, name: String): scala.tools.nsc.Global.ModuleSymbol
- Definition Classes
- SymbolLoaders
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
var
parentsLevel: Int
- Definition Classes
- SymbolLoaders
-
var
pendingLoadActions: List[() ⇒ Unit]
- Definition Classes
- SymbolLoaders
-
def
pickleComplete(pickleFile: AbstractFile, clazz: scala.tools.nsc.Global.ClassSymbol, module: scala.tools.nsc.Global.ModuleSymbol, sym: scala.tools.nsc.Global.Symbol): Unit
Load source or class file for
root
from Scala pickles.Load source or class file for
root
from Scala pickles.This method fills in
sym
with the information from the Scala pickle. The whole mechanism takes a pickle file (which is under the hood hidden as a class file so that the scala classpath mechanism finds it), a class and a module symbol (representing the corresponding class and module symbol related tosym
) and the symbolsym
which is the one under completion.The logic here is simple: we load the pickle information from the pickle file. If we're completing a module (because a companion class doesn't exist), we get the information from the pickle associated with the module class (which ends in
$
, assuming that we did the right thing inPicklerGen
and created it).As you see, for this logic to work correctly, there always need to be a class file for the class and its companion. When there is no class associated with a module class, we still need the pickle information as if it existed because scalac requires it in some cases).
- Definition Classes
- ZincPickleCompletion
-
def
signalError(root: scala.tools.nsc.Global.Symbol, ex: Throwable): Unit
- Attributes
- protected
- Definition Classes
- SymbolLoaders
-
val
symbolTable: global.type
- Definition Classes
- GlobalSymbolLoaders → SymbolLoaders
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... ) @native()