Dotty Documentation

0.17.0-bin-SNAPSHOT

object Unpickler
extends Object with Serializable

Provides methods to unpickle Expr and Type trees.

[-] Constructors

[-] Members

[+] type Pickled = List [ String ]

Representation of pickled trees. For now a List[String], but it should be changed to some kind of TASTY bundle.

[+] def liftedExpr ( value: T ) : Expr [ T ]

Lift the value to an Expr tree. Values can only be of type Boolean, Byte, Short, Char, Int, Long, Float, Double, Unit, String, Null or Class.

[+] def unpickleExpr ( repr: Pickled , args: Seq [ Any ] ) : Expr [ T ]

Unpickle repr which represents a pickled Expr tree, replacing splice nodes with args

[+] def unpickleType ( repr: Pickled , args: Seq [ Any ] ) : Type [ T ]

Unpickle repr which represents a pickled Type tree, replacing splice nodes with args