Class FeatureScopeSessionWithCapturedLocalElements
- java.lang.Object
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSessionWithCapturedLocalElements
-
- All Implemented Interfaces:
IFeatureScopeSession
,IVisibilityHelper
public class FeatureScopeSessionWithCapturedLocalElements extends AbstractNestedFeatureScopeSession
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.xbase.typesystem.util.IVisibilityHelper
ALL
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FeatureScopeSessionWithCapturedLocalElements(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)
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, getEnclosingTypes, 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
-
FeatureScopeSessionWithCapturedLocalElements
protected FeatureScopeSessionWithCapturedLocalElements(AbstractFeatureScopeSession parent)
-
-
Method Detail
-
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
-
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
.
-
-