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
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)