Package org.eclipse.xtext.scoping.impl
Class SelectableBasedScope
- java.lang.Object
-
- org.eclipse.xtext.scoping.impl.AbstractScope
-
- org.eclipse.xtext.scoping.impl.SelectableBasedScope
-
- All Implemented Interfaces:
IScope
public class SelectableBasedScope extends AbstractScope
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.scoping.impl.AbstractScope
AbstractScope.ParentIterable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSelectableBasedScope(IScope outer, ISelectable selectable, com.google.common.base.Predicate<IEObjectDescription> filter, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IScopecreateScope(IScope outer, ISelectable selectable, com.google.common.base.Predicate<IEObjectDescription> filter, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)static IScopecreateScope(IScope outer, ISelectable selectable, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)protected java.lang.Iterable<IEObjectDescription>filterLocalElements(java.lang.Iterable<IEObjectDescription> unfiltered)protected java.lang.Iterable<IEObjectDescription>getAllLocalElements()protected com.google.common.base.Predicate<IEObjectDescription>getFilter()protected java.lang.Iterable<IEObjectDescription>getLocalElementsByName(QualifiedName name)protected ISelectablegetSelectable()-
Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractScope
getAllElements, getElements, getElements, getLocalElementsByEObject, getParent, getParentElements, getSingleElement, getSingleElement, getSingleLocalElementByName, isIgnoreCase, isShadowed, toString
-
-
-
-
Constructor Detail
-
SelectableBasedScope
protected SelectableBasedScope(IScope outer, ISelectable selectable, com.google.common.base.Predicate<IEObjectDescription> filter, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)
-
-
Method Detail
-
createScope
public static IScope createScope(IScope outer, ISelectable selectable, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)
-
createScope
public static IScope createScope(IScope outer, ISelectable selectable, com.google.common.base.Predicate<IEObjectDescription> filter, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)
-
getLocalElementsByName
protected java.lang.Iterable<IEObjectDescription> getLocalElementsByName(QualifiedName name)
- Overrides:
getLocalElementsByNamein classAbstractScope
-
getAllLocalElements
protected java.lang.Iterable<IEObjectDescription> getAllLocalElements()
- Specified by:
getAllLocalElementsin classAbstractScope
-
getSelectable
protected ISelectable getSelectable()
-
getFilter
protected com.google.common.base.Predicate<IEObjectDescription> getFilter()
-
filterLocalElements
protected java.lang.Iterable<IEObjectDescription> filterLocalElements(java.lang.Iterable<IEObjectDescription> unfiltered)
-
-