Dotty Documentation

0.15.0-bin-SNAPSHOT

object MacroClassLoader
extends Object with Serializable

[-] Constructors

[-] Members

[+] private val MacroClassLoaderKey : Key [ ClassLoader ]

A key to be used in a context property that caches the class loader used for macro expansion

[+] def fromContext ( implicit ctx: Context ) : ClassLoader

Get the macro class loader

[+] def init ( ctx: FreshContext ) : ctx.type

Context with a cached macro class loader that can be accessed with macroClassLoader

[+] private def makeMacroClassLoader ( implicit ctx: Context ) : ClassLoader