Class FeatureScopeSessionWithoutLocalElements
- java.lang.Object
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSessionWithoutLocalElements
-
- All Implemented Interfaces:
IFeatureScopeSession,IVisibilityHelper
public class FeatureScopeSessionWithoutLocalElements extends AbstractNestedFeatureScopeSession
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.xbase.typesystem.util.IVisibilityHelper
ALL
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFeatureScopeSessionWithoutLocalElements(AbstractFeatureScopeSession parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddExtensionProviders(java.util.List<ExpressionBucket> result)protected voidaddLocalElements(java.util.List<org.eclipse.xtext.resource.IEObjectDescription> result)java.util.List<org.eclipse.xtext.common.types.JvmDeclaredType>getEnclosingTypes()Returns a list of enclosing types that provide an instance in the current context.org.eclipse.xtext.resource.IEObjectDescriptiongetLocalElement(org.eclipse.xtext.naming.QualifiedName name)Find a local element with the given qualified name.IFeatureScopeSessiongetNextCaptureLayer()Returns the next layer of the captured scopes.-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
getConstructorScopes, getDefaultScopeProvider, getExtensionProviders, getFeatureScopes, getId, getNestedTypeDeclarators, 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
-
FeatureScopeSessionWithoutLocalElements
protected FeatureScopeSessionWithoutLocalElements(AbstractFeatureScopeSession parent)
-
-
Method Detail
-
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.
-
addExtensionProviders
protected void addExtensionProviders(java.util.List<ExpressionBucket> result)
- Overrides:
addExtensionProvidersin classAbstractNestedFeatureScopeSession- Parameters:
result- an aggregating parameter that accepts the extension providers.
-
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.
-
getEnclosingTypes
public java.util.List<org.eclipse.xtext.common.types.JvmDeclaredType> getEnclosingTypes()
Description copied from interface:IFeatureScopeSessionReturns a list of enclosing types that provide an instance in the current context. The first element in the list is the innermost type.- Specified by:
getEnclosingTypesin interfaceIFeatureScopeSession- Overrides:
getEnclosingTypesin classAbstractNestedFeatureScopeSession
-
getNextCaptureLayer
public IFeatureScopeSession getNextCaptureLayer()
Description copied from interface:IFeatureScopeSessionReturns the next layer of the captured scopes.- Specified by:
getNextCaptureLayerin interfaceIFeatureScopeSession- Overrides:
getNextCaptureLayerin classAbstractNestedFeatureScopeSession
-
-