Class FeatureScopeSessionWithNestedTypes
- java.lang.Object
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSessionWithNestedTypes
-
- All Implemented Interfaces:
IFeatureScopeSession,IVisibilityHelper
public class FeatureScopeSessionWithNestedTypes extends AbstractNestedFeatureScopeSession
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.xbase.typesystem.util.IVisibilityHelper
ALL
-
-
Constructor Summary
Constructors Constructor Description FeatureScopeSessionWithNestedTypes(AbstractFeatureScopeSession parent, org.eclipse.xtext.common.types.JvmDeclaredType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.eclipse.xtext.common.types.JvmDeclaredType>getEnclosingTypes()Returns a list of enclosing types that provide an instance in the current context.java.util.List<org.eclipse.xtext.common.types.JvmDeclaredType>getNestedTypeDeclarators()Returns enclosing types that declare available nested types.-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
addExtensionProviders, addLocalElements, getConstructorScopes, getDefaultScopeProvider, getExtensionProviders, getFeatureScopes, getId, getLocalElement, getNextCaptureLayer, 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
-
FeatureScopeSessionWithNestedTypes
public FeatureScopeSessionWithNestedTypes(AbstractFeatureScopeSession parent, org.eclipse.xtext.common.types.JvmDeclaredType type)
-
-
Method Detail
-
getNestedTypeDeclarators
public java.util.List<org.eclipse.xtext.common.types.JvmDeclaredType> getNestedTypeDeclarators()
Description copied from interface:IFeatureScopeSessionReturns enclosing types that declare available nested types. The first element in the list is the innermost type.- Specified by:
getNestedTypeDeclaratorsin interfaceIFeatureScopeSession- Overrides:
getNestedTypeDeclaratorsin classAbstractNestedFeatureScopeSession
-
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
-
-