Dotty Documentation

0.5.0-bin-SNAPSHOT

class TastyPickler
extends Object

[-] Constructors

TastyPickler ( )

[-] Members

[+] var addrOfSym : Symbol => Option [ Addr ]

Addresses in TASTY file of symbols, stored by pickling. Note that trees are checked for reference equality, so one can reliably use this function only dirrectly after pickler

[+] var addrOfTree : Tree => Option [ Addr ]

The address in the TASTY file of a given tree, or None if unknown. Note that trees are looked up by reference equality, so one can reliably use this function only directly after pickler.

[+] val nameBuffer : NameBuffer
[+] private val sections : ArrayBuffer [ ( NameRef, TastyBuffer ) ]
[+] val treePkl : TreePickler
[+] def addrOfSym_= ( x$1: Symbol => Option [ Addr ] ) : Unit

Addresses in TASTY file of symbols, stored by pickling. Note that trees are checked for reference equality, so one can reliably use this function only dirrectly after pickler

[+] def addrOfTree_= ( x$1: Tree => Option [ Addr ] ) : Unit

The address in the TASTY file of a given tree, or None if unknown. Note that trees are looked up by reference equality, so one can reliably use this function only directly after pickler.

[+] def assembleParts ( ) : Array [ Byte ]
[+] def newSection ( name: String , buf: TastyBuffer ) : ArrayBuffer [ ( NameRef, TastyBuffer ) ]
[+] private def pjwHash64 ( data: Array [ Byte ] ) : Long

Returns a non-cryptographic 64-bit hash of the array.

from https://en.wikipedia.org/wiki/PJW_hash_function#Implementation