Dotty Documentation

0.7.0-bin-SNAPSHOT

object PickledQuotes
extends Object

[-] Constructors

[-] Members

[+] private def encapsulateQuote ( tree: Tree ) ( implicit ctx: Context ) : Tree

Encapsulate the tree in a top level val or type <tree> ==> package _root_ { val $quote: Any = <tree> } or <type tree> ==> package _root_ { val $typeQuote: Any = null.asInstanceOf[<tree>] }

[+] private def pickle ( tree: Tree ) ( implicit ctx: Context ) : Array [ Byte ]

Pickle tree into it's TASTY bytes s

[+] def pickleQuote ( tree: Tree ) ( implicit ctx: Context ) : Tree

Pickle the quote into strings

[+] def quotedToTree ( expr: Quoted ) ( implicit ctx: Context ) : Tree

Transform the expression into its fully spliced Tree

[+] private def unpickle ( bytes: Array [ Byte ] , splices: Seq [ Any ] ) ( implicit ctx: Context ) : Tree

Unpickle TASTY bytes into it's tree

[+] private def unpickleQuote ( expr: TastyQuoted ) ( implicit ctx: Context ) : Tree

Unpickle the tree contained in the TastyQuoted