Class FeatureScopeSessionWithDynamicExtensions
- java.lang.Object
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSessionWithDynamicExtensions
-
- All Implemented Interfaces:
IFeatureScopeSession,IVisibilityHelper
public class FeatureScopeSessionWithDynamicExtensions extends AbstractNestedFeatureScopeSession
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.xbase.typesystem.util.IVisibilityHelper
ALL
-
-
Constructor Summary
Constructors Constructor Description FeatureScopeSessionWithDynamicExtensions(AbstractFeatureScopeSession parent, java.util.Map<XExpression,LightweightTypeReference> extensionProviders, IResolvedFeatures.Provider resolvedFeaturesProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddExtensionProviders(java.util.List<ExpressionBucket> result)java.util.List<ExpressionBucket>getExtensionProviders()All extension providers as expression buckets.-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
addLocalElements, getConstructorScopes, getDefaultScopeProvider, getEnclosingTypes, getFeatureScopes, getId, getLocalElement, 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
-
FeatureScopeSessionWithDynamicExtensions
public FeatureScopeSessionWithDynamicExtensions(AbstractFeatureScopeSession parent, java.util.Map<XExpression,LightweightTypeReference> extensionProviders, IResolvedFeatures.Provider resolvedFeaturesProvider)
-
-
Method Detail
-
addExtensionProviders
protected void addExtensionProviders(java.util.List<ExpressionBucket> result)
- Overrides:
addExtensionProvidersin classAbstractNestedFeatureScopeSession- Parameters:
result- an aggregating parameter that accepts the extension providers.
-
getExtensionProviders
public java.util.List<ExpressionBucket> getExtensionProviders()
Description copied from interface:IFeatureScopeSessionAll extension providers as expression buckets.- Specified by:
getExtensionProvidersin interfaceIFeatureScopeSession- Overrides:
getExtensionProvidersin classAbstractNestedFeatureScopeSession- Returns:
- the list of extension providers.
-
-