dotty.tools.dotc.core.unpickleScala2

Members list

Type members

Classlikes

class PickleBuffer(data: Array[Byte], from: Int, to: Int)

Variable length byte arrays, with methods for basic pickling and unpickling.

Variable length byte arrays, with methods for basic pickling and unpickling.

Value parameters

data

The initial buffer

from

The first index where defined data are found

to

The first index where new data can be written

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object PickleBuffer

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object PickleFormat

This object provides constants for pickling attributes.

This object provides constants for pickling attributes.

If you extend the format, be sure to increase the version minor number.

This was adapted from https://github.com/scala/scala/blob/2.11.x/src/reflect/scala/reflect/internal/pickling/PickleFormat.scala

Attributes

Authors:

Martin Odersky

Version

1.0

Supertypes
class Object
trait Matchable
class Any
Self type
object Scala2Erasure

Erasure logic specific to Scala 2 symbols.

Erasure logic specific to Scala 2 symbols.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Scala2Flags

Scala2 flags, adapted from https://github.com/scala/scala/blob/2.11.x/src/reflect/scala/reflect/internal/Flags.scala

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class Scala2Unpickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClassRoot: ClassDenotation)(ictx: Context) extends PickleBuffer, Embedded

Unpickle symbol table information descending from a class and/or module root from an array of bytes.

Unpickle symbol table information descending from a class and/or module root from an array of bytes.

Value parameters

bytes

bytearray from which we unpickle

classRoot

the top-level class which is unpickled, or NoSymbol if inapplicable

moduleClassRoot

the top-level module class which is unpickled, or NoSymbol if inapplicable

Attributes

Companion
object
Supertypes
trait Embedded
class PickleBuffer
class Object
trait Matchable
class Any