dotty.tools.dotc.core.tasty
package dotty.tools.dotc.core.tasty
Type members
Classlikes
class CommentPickler(pickler: TastyPickler, addrOfTree: Tree => Addr, docString: MemberDef => Option[Comment])
A class for unpickling Tasty trees and symbols.
A class for unpickling Tasty trees and symbols.
- Value parameters:
- bytes
the bytearray containing the Tasty file from which we unpickle
- mode
the tasty file contains package (TopLevel), an expression (Term) or a type (TypeTree)
- Companion:
- object
class PositionPickler(pickler: TastyPickler, addrOfTree: TreeToAddr, treeAnnots: MemberDef => List[Tree], relativePathReference: String)
- Companion:
- object
Unpickler for tree positions
Unpickler for tree positions
Reads the package and class name of the class contained in this TASTy
Reads the package and class name of the class contained in this TASTy
class TreeUnpickler(reader: TastyReader, nameAtRef: NameTable, posUnpicklerOpt: Option[PositionUnpickler], commentUnpicklerOpt: Option[CommentUnpickler])
Unpickler for typed trees
Unpickler for typed trees
- Value parameters:
- commentUnpicklerOpt
the unpickler for comments, if it exists
- posUnpicklerOpt
the unpickler for positions, if it exists
- reader
the reader from which to unpickle
- Companion:
- object