public interface IDelegatingScopeProvider extends IScopeProvider
IScopeProvider to compute its parent scope or that takes care
of other cases.
It is used to provide (recursive) access to the implementation, that will finally delegate
to the global scope. This is necessary to allow wrapping of global scopes to keep track of imported names.AbstractGlobalScopeDelegatingScopeProvider| Modifier and Type | Method and Description |
|---|---|
IScopeProvider |
getDelegate()
Provides access to the delegate.
|
static void |
setWrapper(IScopeProvider scopeProvider,
IScopeWrapper wrapper)
Set the given wrapper on the given
IScopeProvider if the scope provider is either a
delegating scope provider or an AbstractGlobalScopeDelegatingScopeProvider. |
default void |
setWrapper(IScopeWrapper wrapper)
Set the wrapper this delegating scope provider.
|
getScopeIScopeProvider getDelegate()
null.default void setWrapper(IScopeWrapper wrapper)
nullstatic void setWrapper(IScopeProvider scopeProvider, IScopeWrapper wrapper)
IScopeProvider if the scope provider is either a
delegating scope provider or an AbstractGlobalScopeDelegatingScopeProvider.
The wrapper may be null