
acyclic.plugin.Plugin.scala Maven / Gradle / Ivy
The newest version!
package acyclic.plugin
import acyclic.file
import tools.nsc.Global
class RuntimePlugin(global: Global) extends TestPlugin(global)
class TestPlugin(val global: Global, cycleReporter: Seq[(Value, Set[Int])] => Unit = _ => ()) extends tools.nsc.plugins.Plugin {
val name = "Acyclic"
val description = "Allows the developer to prohibit inter-file dependencies"
val components = List[tools.nsc.plugins.PluginComponent](
new PluginPhase(this.global, cycleReporter)
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy