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 protected
FeatureScopeSessionWithoutLocalElements(AbstractFeatureScopeSession parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addExtensionProviders(java.util.List<ExpressionBucket> result)
protected void
addLocalElements(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.IEObjectDescription
getLocalElement(org.eclipse.xtext.naming.QualifiedName name)
Find a local element with the given qualified name.IFeatureScopeSession
getNextCaptureLayer()
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:
addLocalElements
in 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:
addExtensionProviders
in 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:IFeatureScopeSession
Find a local element with the given qualified name.- Specified by:
getLocalElement
in interfaceIFeatureScopeSession
- Overrides:
getLocalElement
in classAbstractNestedFeatureScopeSession
- Returns:
- the known element or
null
.
-
getEnclosingTypes
public java.util.List<org.eclipse.xtext.common.types.JvmDeclaredType> getEnclosingTypes()
Description copied from interface:IFeatureScopeSession
Returns 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:
getEnclosingTypes
in interfaceIFeatureScopeSession
- Overrides:
getEnclosingTypes
in classAbstractNestedFeatureScopeSession
-
getNextCaptureLayer
public IFeatureScopeSession getNextCaptureLayer()
Description copied from interface:IFeatureScopeSession
Returns the next layer of the captured scopes.- Specified by:
getNextCaptureLayer
in interfaceIFeatureScopeSession
- Overrides:
getNextCaptureLayer
in classAbstractNestedFeatureScopeSession
-
-