dotty.tools.dotc.core.unpickleScala2

Members list

Concise view

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.

Attributes

data

The initial buffer

from

The first index where defined data are found

to

The first index where new data can be written

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

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

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Erasure logic specific to Scala 2 symbols.

Erasure logic specific to Scala 2 symbols.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class Scala2Unpickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClassRoot: ClassDenotation)(ictx: Context) extends PickleBuffer with 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.

Attributes

bytes

bytearray from which we unpickle

classroot

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

filename

filename associated with bytearray, only used for error messages

moduleroot

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

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