public class SimpleScope extends AbstractScope
AbstractScope.ParentIterable| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<java.lang.Object> |
shadowingIndex |
| Constructor and Description |
|---|
SimpleScope(IScope parent,
java.lang.Iterable<IEObjectDescription> descriptions) |
SimpleScope(IScope parent,
java.lang.Iterable<IEObjectDescription> descriptions,
boolean ignoreCase) |
SimpleScope(java.lang.Iterable<IEObjectDescription> descriptions) |
SimpleScope(java.lang.Iterable<IEObjectDescription> descriptions,
boolean ignoreCase) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Iterable<IEObjectDescription> |
getAllLocalElements() |
protected java.lang.Iterable<IEObjectDescription> |
getLocalElementsByEObject(org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.common.util.URI uri) |
protected java.lang.Object |
getShadowingKey(IEObjectDescription description) |
protected boolean |
isShadowed(IEObjectDescription fromParent)
Returns
true if the given description input from the parent scope is
shadowed by local elements. |
getAllElements, getElements, getElements, getLocalElementsByName, getParent, getParentElements, getSingleElement, getSingleElement, getSingleLocalElementByName, isIgnoreCase, toStringpublic SimpleScope(IScope parent, java.lang.Iterable<IEObjectDescription> descriptions, boolean ignoreCase)
public SimpleScope(IScope parent, java.lang.Iterable<IEObjectDescription> descriptions)
public SimpleScope(java.lang.Iterable<IEObjectDescription> descriptions, boolean ignoreCase)
public SimpleScope(java.lang.Iterable<IEObjectDescription> descriptions)
protected java.lang.Iterable<IEObjectDescription> getAllLocalElements()
getAllLocalElements in class AbstractScopeprotected java.lang.Iterable<IEObjectDescription> getLocalElementsByEObject(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.common.util.URI uri)
getLocalElementsByEObject in class AbstractScopeprotected java.lang.Object getShadowingKey(IEObjectDescription description)
protected boolean isShadowed(IEObjectDescription fromParent)
AbstractScopetrue if the given description input from the parent scope is
shadowed by local elements.isShadowed in class AbstractScopetrue if the given description input from the parent scope is
shadowed by local elements.