dotty.tools.dotc.core.unpickleScala2
Type members
Classlikes
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
- Companion:
- object
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.
Scala2 flags, adapted from https://github.com/scala/scala/blob/2.11.x/src/reflect/scala/reflect/internal/Flags.scala
Scala2 flags, adapted from https://github.com/scala/scala/blob/2.11.x/src/reflect/scala/reflect/internal/Flags.scala
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
- 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