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

org.scalamacros.paradise.reflect.Enrichments.scala Maven / Gradle / Ivy

The newest version!
package org.scalamacros.paradise
package reflect

import scala.language.implicitConversions
import scala.tools.nsc.{Global => NscGlobal}
import scala.tools.nsc.{Settings => NscSettings}
import org.scalamacros.paradise.{Settings => ParadiseSettings}

trait Enrichments extends Definitions
                     with StdNames
                     with TreeInfo
                     with StdAttachments
                     with ReflectionUtils
                     with Mirrors
                     with Symbols
                     with Types
                     with ReplIntegration
                     with Names { self =>

  val global: NscGlobal
  lazy val compat = new { val global: self.global.type = self.global } with scala.quasiquotes.SymbolTableCompat
  implicit def paradiseSettings(settings: NscSettings) = ParadiseSettings
  def installationFailure() = global.abort("failed to install macro paradise plugin")
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy