Class CompositeScope
- java.lang.Object
-
- org.eclipse.xtext.scoping.impl.AbstractScope
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
-
- org.eclipse.xtext.xbase.scoping.batch.CompositeScope
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IScope
public class CompositeScope extends AbstractSessionBasedScope
A composite scope returns description from multiple other scopes without applying shadowing semantics to then.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
AbstractSessionBasedScope.NameAcceptor
-
-
Constructor Summary
Constructors Constructor Description CompositeScope(org.eclipse.xtext.scoping.IScope parent, IFeatureScopeSession session, XAbstractFeatureCall featureCall)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDelegate(AbstractSessionBasedScope delegate)protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription>getAllLocalElements()protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription>getLocalElementsByName(org.eclipse.xtext.naming.QualifiedName name)booleanhasDelegates()-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
addToList, addToList, findAllFeaturesByName, getElements, getFeatureCall, getLocalElementsByEObject, getSession, getShadowingKey, isShadowed, processAsPropertyNames, processFeatureNames, toProperty, toProperty, tryGetAsPropertyName
-
-
-
-
Constructor Detail
-
CompositeScope
public CompositeScope(org.eclipse.xtext.scoping.IScope parent, IFeatureScopeSession session, XAbstractFeatureCall featureCall)
-
-
Method Detail
-
addDelegate
public void addDelegate(AbstractSessionBasedScope delegate)
-
hasDelegates
public boolean hasDelegates()
-
getAllLocalElements
protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> getAllLocalElements()
- Specified by:
getAllLocalElementsin classAbstractSessionBasedScope
-
getLocalElementsByName
protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> getLocalElementsByName(org.eclipse.xtext.naming.QualifiedName name)
- Specified by:
getLocalElementsByNamein classAbstractSessionBasedScope
-
-