Interface IPlatformScopeProvider
-
- All Known Implementing Classes:
CachedPlatformScopeProvider
,PlatformScopeProvider
public interface IPlatformScopeProvider
Instance of this interface provides scopes for the V8 platform.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.xtext.scoping.IScope
getScope(org.eclipse.emf.ecore.EClass type, boolean ignoreCase, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, Version version)
Returns a corresponding version of platform scope for the given context.org.eclipse.xtext.scoping.IScope
getScope(org.eclipse.emf.ecore.EReference reference, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, Version version)
Returns a corresponding version of platform scope for the given context.
-
-
-
Method Detail
-
getScope
org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EReference reference, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, Version version)
Returns a corresponding version of platform scope for the given context.- Parameters:
reference
- the reference for which to construct a platform scope. Can't benull
.filter
- a filter used to filter elements in the platform scope. May benull
.version
- runtime version of platform scope, can't benull
- Returns:
- the resulting platform scope. Can't be
null
.
-
getScope
org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EClass type, boolean ignoreCase, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, Version version)
Returns a corresponding version of platform scope for the given context.- Parameters:
type
- type of elements collecting into the resulting scope.ignoreCase
- iftrue
the resulting scope ia case-insensitive.filter
- a filter used to filter elements in the platform scope. May benull
.version
- runtime version of platform scope, can't benull
- Returns:
- the resulting platform scope. Can't be
null
.
-
-