scala.reflect.macros.runtime.Infrastructure.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala-compiler Show documentation
Show all versions of scala-compiler Show documentation
Compiler for the Scala Programming Language
package scala.reflect.macros
package runtime
trait Infrastructure {
self: Context =>
def settings: List[String] = {
val us = universe.settings
import us._
userSetSettings collectFirst { case x: MultiStringSetting if x.name == XmacroSettings.name => x.value } getOrElse Nil
}
def compilerSettings: List[String] = universe.settings.recreateArgs
def classPath: List[java.net.URL] = global.classPath.asURLs
}