DottyUnpickler

dotty.tools.dotc.core.tasty.DottyUnpickler
See theDottyUnpickler companion object
class DottyUnpickler(tastyFile: AbstractFile, bytes: Array[Byte], mode: UnpickleMode) extends Embedded, TreeProvider

A class for unpickling Tasty trees and symbols.

Value parameters

bytes

the bytearray containing the Tasty file from which we unpickle

mode

the tasty file contains package (TopLevel), an expression (Term) or a type (TypeTree)

tastyFile

tasty file from which we unpickle (used for CompilationUnitInfo)

Attributes

Companion
object
Graph
Supertypes
trait TreeProvider
trait Embedded
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def enter(roots: Set[SymDenotation])(using Context): Unit

Enter all toplevel classes and objects into their scopes

Enter all toplevel classes and objects into their scopes

Value parameters

roots

a set of SymDenotations that should be overwritten by unpickling

Attributes

override def mightContain(id: String)(using Context): Boolean

Is it possible that the tree to load contains a definition of or reference to id?

Is it possible that the tree to load contains a definition of or reference to id?

Attributes

Definition Classes

Inherited methods

def rootTrees(using Context): List[Tree]

Get trees defined by this provider. Cache them if -Yretain-trees is set.

Get trees defined by this provider. Cache them if -Yretain-trees is set.

Attributes

Inherited from:
TreeProvider
def tree(using Context): Tree

Get first tree defined by this provider, or EmptyTree if none exists

Get first tree defined by this provider, or EmptyTree if none exists

Attributes

Inherited from:
TreeProvider