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

plugin.Plugin.scala Maven / Gradle / Ivy

The newest version!
package dfhdl.plugin

import dotty.tools.dotc.plugins.*

class Plugin extends StandardPlugin:
  val name: String = "dfhdl.plugin"
  override val description: String = "Dedicated DSL capabilities for DFiant HDL"

  def init(options: List[String]): List[PluginPhase] =
    val setting = new Setting(options.headOption)
    PreTyperPhase(setting) ::
      TopAnnotPhase(setting) ::
      MetaContextPlacerPhase(setting) ::
      CustomControlPhase(setting) ::
      DesignDefsPhase(setting) ::
      MetaContextDelegatePhase(setting) ::
      MetaContextGenPhase(setting) ::
      OnCreateEventsPhase(setting) ::
      FixInterpDFValPhase(setting) ::
      Nil
end Plugin




© 2015 - 2024 Weber Informatics LLC | Privacy Policy