ammonite.util.ImportData
See theImportData companion object
Represents the importing of a single name in the Ammonite REPL, of the form
import $prefix.{$fromName => $toName}
All imports are reduced to this form; import $prefix.$name
is results in the fromName
and toName
being the same, while import $prefix._
or import $prefix.{foo, bar, baz}
are split into multiple distinct ImportData objects.
Note that imports can be of one of three distinct ImportType
s: importing a type, a term, or both. This lets us properly deal with shadowing correctly if we import the type and term of the same name from different places
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article