Class FeatureScopeSessionWithLocalElements
- java.lang.Object
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSessionWithLocalElements
-
- All Implemented Interfaces:
IFeatureScopeSession,IVisibilityHelper
public class FeatureScopeSessionWithLocalElements extends AbstractNestedFeatureScopeSession
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.xbase.typesystem.util.IVisibilityHelper
ALL
-
-
Constructor Summary
Constructors Constructor Description FeatureScopeSessionWithLocalElements(AbstractFeatureScopeSession parent, java.util.Map<org.eclipse.xtext.naming.QualifiedName,org.eclipse.xtext.common.types.JvmIdentifiableElement> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddLocalElements(java.util.List<org.eclipse.xtext.resource.IEObjectDescription> result)org.eclipse.xtext.resource.IEObjectDescriptiongetLocalElement(org.eclipse.xtext.naming.QualifiedName name)Find a local element with the given qualified name.-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
addExtensionProviders, getConstructorScopes, getDefaultScopeProvider, getEnclosingTypes, getExtensionProviders, getFeatureScopes, getId, getNestedTypeDeclarators, getNextCaptureLayer, getParent, getResolvedFeaturesProvider, getStaticallyImportedExtensionTypes, getStaticallyImportedTypes, getTypeScopes, isConstructorContext, isInstanceContext, isVisible, isVisible
-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
addImports, addLocalElement, addLocalElements, addNestedTypesToScope, addToExtensionScope, addTypesToStaticScope, captureLocalElements, createConstructorScope, createFeatureCallScope, createTypeScope, dropLocalElements, getLocalElements, getScope, toConstructorContext, toInstanceContext, tryCreateNestedSessionWithVisibilityContext
-
-
-
-
Constructor Detail
-
FeatureScopeSessionWithLocalElements
public FeatureScopeSessionWithLocalElements(AbstractFeatureScopeSession parent, java.util.Map<org.eclipse.xtext.naming.QualifiedName,org.eclipse.xtext.common.types.JvmIdentifiableElement> map)
-
-
Method Detail
-
getLocalElement
public org.eclipse.xtext.resource.IEObjectDescription getLocalElement(org.eclipse.xtext.naming.QualifiedName name)
Description copied from interface:IFeatureScopeSessionFind a local element with the given qualified name.- Specified by:
getLocalElementin interfaceIFeatureScopeSession- Overrides:
getLocalElementin classAbstractNestedFeatureScopeSession- Returns:
- the known element or
null.
-
addLocalElements
protected void addLocalElements(java.util.List<org.eclipse.xtext.resource.IEObjectDescription> result)
- Overrides:
addLocalElementsin classAbstractNestedFeatureScopeSession- Parameters:
result- the list of all local elements. Shadowing semantics do not have to be applied.
-
-