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 ImportTypes: 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
Represents the importing of a single name in the Ammonite REPL, of the form
All imports are reduced to this form;
import $prefix.$name
is results in thefromName
andtoName
being the same, whileimport $prefix._
orimport $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