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

scala.reflect.api.Importers.scala Maven / Gradle / Ivy

There is a newer version: 2.11.2
Show newest version
package scala.reflect
package api

// [Martin] Importers need to be made mirror aware.
// [Eugene++] this is important
trait Importers { self: Universe =>

  def mkImporter(from0: Universe): Importer { val from: from0.type }

  trait Importer {
    val from: Universe

    val reverse: from.Importer { val from: self.type }

    def importSymbol(sym: from.Symbol): Symbol

    def importType(tpe: from.Type): Type

    def importTree(tree: from.Tree): Tree
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy