class Pickler
extends DotClass with Phase

This phase pickles trees

Constructors

Pickler ( )

Members

[+] private val beforePickling : HashMap [ ClassSymbol, String ]
[+] private val picklers : HashMap [ ClassSymbol, TastyPickler ]
[+] private def dropCompanionModuleClasses ( clss: List [ ClassSymbol ] ) ( implicit ctx: Context ) : List [ ClassSymbol ]

Drop any elements of this list that are linked module classes of other elements in the list

Drop any elements of this list that are linked module classes of other elements in the list

[+] private def output ( name: String , msg: String ) : Unit
[+] override def phaseName : String

A name given to the Phase that can be used to debug the compiler. For instance, it is possible to print trees after a given phase using:

A name given to the Phase that can be used to debug the compiler. For instance, it is possible to print trees after a given phase using:

$ ./bin/dotc -Xprint:<phaseNameHere> sourceFile.scala
[+] override def run ( implicit ctx: Context ) : Unit
[+] override def runOn ( units: List [ CompilationUnit ] ) ( implicit ctx: Context ) : List [ CompilationUnit ]
[+] private def testSame ( unpickled: String , previous: String , cls: ClassSymbol ) ( implicit ctx: Context ) : Unit
[+] private def testUnpickler ( implicit ctx: Context ) : Unit