All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.reflect.macros.contexts.Infrastructure.scala Maven / Gradle / Ivy

The newest version!
package scala.reflect.macros
package contexts

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.toList
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy