Interface ISlicedScope
- 
- All Known Implementing Classes:
- CachedLightSimpleScope,- CompositeScope,- LightFilteringScope,- LightSelectableBasedScope,- NonShadowedSelectableBasedScope,- NullSlicedScope,- PlatformSimpleScope
 
 public interface ISlicedScopeSpecial interface for expanding functionality ofIScopefor index slices. SeeIIndexSlice
- 
- 
Field SummaryFields Modifier and Type Field Description static org.eclipse.xtext.scoping.IScopeNULLSCOPE
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<org.eclipse.xtext.resource.IEObjectDescription>getAllElements(Collection<ISliceFilter> slices)Obtain all elements from the scope.Iterable<org.eclipse.xtext.resource.IEObjectDescription>getElements(org.eclipse.emf.ecore.EObject object, Collection<ISliceFilter> slices)Finds all descriptions that match the given instance.Iterable<org.eclipse.xtext.resource.IEObjectDescription>getElements(org.eclipse.xtext.naming.QualifiedName name, Collection<ISliceFilter> slices)Find all descriptions that match the given name.org.eclipse.xtext.resource.IEObjectDescriptiongetSingleElement(org.eclipse.xtext.naming.QualifiedName name, Collection<ISliceFilter> slices)Finds the first description that matches the given name.
 
- 
- 
- 
Method Detail- 
getSingleElementorg.eclipse.xtext.resource.IEObjectDescription getSingleElement(org.eclipse.xtext.naming.QualifiedName name, Collection<ISliceFilter> slices)Finds the first description that matches the given name.- Parameters:
- name- the name of the to-be-found element. May not be- null.
- slices- list of predicates corresponding to the index slices, can't be- null
- Returns:
- the first element that matches the name. May benull.
 
 - 
getElementsIterable<org.eclipse.xtext.resource.IEObjectDescription> getElements(org.eclipse.xtext.naming.QualifiedName name, Collection<ISliceFilter> slices) Find all descriptions that match the given name.- Parameters:
- name- the name of the to-be-found elements. May not be- null.
- slices- list of predicates corresponding to the index slices, can't be- null
- Returns:
- all elements that match the name. Nevernull.
 
 - 
getAllElementsIterable<org.eclipse.xtext.resource.IEObjectDescription> getAllElements(Collection<ISliceFilter> slices) Obtain all elements from the scope. Implementors a free to throw anUnsupportedOperationExceptionif the scope cannot be enumerated.- Parameters:
- slices- list of predicates corresponding to the index slices, can't be- null
- Returns:
- all elements of the scope. Never null.
- Throws:
- UnsupportedOperationException- if the scope cannot be enumerated.
 
 - 
getElementsIterable<org.eclipse.xtext.resource.IEObjectDescription> getElements(org.eclipse.emf.ecore.EObject object, Collection<ISliceFilter> slices) Finds all descriptions that match the given instance.- Parameters:
- object- the instance whose descriptions should be obtained. May not be- null.
- slices- list of predicates corresponding to the index slices, can't be- null
- Returns:
- all elements that match the instance. Nevernull.
 
 
- 
 
-