org.eclipse.xtext.scoping.impl
Interface IDelegatingScopeProvider
- All Superinterfaces:
- IScopeProvider
- All Known Implementing Classes:
- AbstractDeclarativeScopeProvider, CodetemplatesScopeProvider, SingleCodetemplateScopeProvider, SyntheticResourceAwareScopeProvider, XbaseBatchScopeProvider, XbaseScopeProvider, XbaseWithAnnotationsScopeProvider, XtendScopeProvider, XtypeScopeProvider, XtypeScopeProvider
public interface IDelegatingScopeProvider
- extends IScopeProvider
A delegating scope provider marks an implementation, that handles only a couple of cases
but will use another 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.
- Since:
- 2.1
- Author:
- Sebastian Zarnekow - Initial contribution and API
- See Also:
AbstractGlobalScopeDelegatingScopeProvider
getDelegate
IScopeProvider getDelegate()
- Provides access to the delegate.
- Returns:
- the delegate. May not be
null
.