org.eclipse.xtext.xbase.scoping.batch
Interface IFeatureScopeSession

All Known Implementing Classes:
AbstractFeatureScopeSession, FeatureScopeSession, FeatureScopeSessionWithDynamicExtensions, FeatureScopeSessionWithLocalElements, FeatureScopeSessionWithStaticTypes, RootFeatureScopeSession

@NonNullByDefault
public interface IFeatureScopeSession

Author:
Sebastian Zarnekow - Initial contribution and API TODO JavaDoc

Method Summary
 IFeatureScopeSession addLocalElement(QualifiedName name, JvmIdentifiableElement element)
           
 IFeatureScopeSession addLocalElements(java.util.Map<QualifiedName,JvmIdentifiableElement> elements)
           
 IFeatureScopeSession addToExtensionScope(JvmIdentifiableElement baseElement, java.util.List<XExpression> extensionProviders)
           
 IFeatureScopeSession addTypesToStaticScope(java.util.List<JvmType> staticFeatureProviders, java.util.List<JvmType> extensionProviders)
           
 IScope createFeatureCallScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, IResolvedTypes resolvedTypes)
           
 IEObjectDescription getLocalElement(QualifiedName name)
           
 java.util.Collection<IEObjectDescription> getLocalElements()
           
 IScope getScope(XExpression expression, org.eclipse.emf.ecore.EReference reference, IResolvedTypes types)
           
 java.util.List<TypeBucket> getStaticallyImportedExtensionTypes()
           
 java.util.List<TypeBucket> getStaticallyImportedTypes()
           
 IFeatureScopeSession recursiveInitialize(org.eclipse.emf.ecore.EObject context)
           
 

Method Detail

addTypesToStaticScope

IFeatureScopeSession addTypesToStaticScope(java.util.List<JvmType> staticFeatureProviders,
                                           java.util.List<JvmType> extensionProviders)

addToExtensionScope

IFeatureScopeSession addToExtensionScope(JvmIdentifiableElement baseElement,
                                         java.util.List<XExpression> extensionProviders)

addLocalElement

IFeatureScopeSession addLocalElement(QualifiedName name,
                                     JvmIdentifiableElement element)

addLocalElements

IFeatureScopeSession addLocalElements(java.util.Map<QualifiedName,JvmIdentifiableElement> elements)

createFeatureCallScope

IScope createFeatureCallScope(org.eclipse.emf.ecore.EObject context,
                              org.eclipse.emf.ecore.EReference reference,
                              IResolvedTypes resolvedTypes)

getLocalElement

@Nullable
IEObjectDescription getLocalElement(QualifiedName name)

getLocalElements

java.util.Collection<IEObjectDescription> getLocalElements()

getStaticallyImportedTypes

java.util.List<TypeBucket> getStaticallyImportedTypes()

getStaticallyImportedExtensionTypes

java.util.List<TypeBucket> getStaticallyImportedExtensionTypes()

recursiveInitialize

IFeatureScopeSession recursiveInitialize(org.eclipse.emf.ecore.EObject context)

getScope

IScope getScope(XExpression expression,
                org.eclipse.emf.ecore.EReference reference,
                IResolvedTypes types)