The type of member scopes, as in class definitions, for example.
The API that all member scopes support
The base type of all scopes.
The API that all scopes support
The methods available for each reflection entity, without the implementation. Since the reflection entities are later overridden by runtime reflection and macros, their API counterparts guarantee a minimum set of methods that are implemented.
EXPERIMENTAL
This trait provides support for scopes in the reflection API.
A scope object generally maps names to symbols available in a corresponding lexical scope. Scopes can be nested. The base type exposed to the reflection API, however, only exposes a minimal interface, representing a scope as an iterable of symbols.
For rare occasions when it is necessary to create a scope manually, e.g., to populate members of scala.reflect.api.Types#RefinedType, there is the
newScopeWith
function.Additional functionality is exposed in member scopes that are returned by
members
anddecls
defined in scala.reflect.api.Types#TypeApi. Such scopes support thesorted
method, which sorts members in declaration order.