Compute imports that allow definitions from previous requests to be visible in a new request.
Tuples of (source, imported symbols) in the order they were imported.
Symbols whose contents are language-defined to be imported.
Types which have been wildcard imported, such as: val x = "abc" ; import x.
Types which have been wildcard imported, such as: val x = "abc" ; import x._ // type java.lang.String import java.lang.String._ // object java.lang.String
Used by tab completion.
XXX right now this gets import x._ and import java.lang.String._, but doesn't figure out import String._. There's a lot of ad hoc scope twiddling which should be swept away in favor of digging into the compiler scopes.
(imports: StringAdd).self
(imports: StringFormat).self
(imports: ArrowAssoc[Imports]).x
(Since version 2.10.0) Use leftOfArrow
instead
(imports: Ensuring[Imports]).x
(Since version 2.10.0) Use resultOfEnsuring
instead