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

org.scalamacros.paradise.Plugin.scala Maven / Gradle / Ivy

The newest version!
package org.scalamacros.paradise

import scala.tools.nsc.{Global, Phase, SubComponent}
import scala.tools.nsc.plugins.{Plugin => NscPlugin, PluginComponent => NscPluginComponent}
import scala.collection.{mutable, immutable}
import org.scalamacros.paradise.typechecker.AnalyzerPlugins

class Plugin(val global: Global) extends NscPlugin with AnalyzerPlugins {
  import global._

  val name = "macroparadise"
  val description = "Empowers production Scala compiler with latest macro developments"
  val components = Nil
  analyzer.addAnalyzerPlugin(AnalyzerPlugin)
  analyzer.addMacroPlugin(MacroPlugin)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy