dotty.tools.dotc.core.unpickleScala2

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 Params
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
object PickleBuffer
Companion
class
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

Authors

Martin Odersky

Version

1.0

Erasure logic specific to Scala 2 symbols.

Erasure logic specific to Scala 2 symbols.

object Scala2Flags

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

Companion
class
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.

Value Params
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