org.eclipse.xtext.xbase.scoping.batch
Class FeatureScopeSession

java.lang.Object
  extended by org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
      extended by org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSession
All Implemented Interfaces:
IFeatureScopeSession
Direct Known Subclasses:
FeatureScopeSessionWithDynamicExtensions, FeatureScopeSessionWithLocalElements, FeatureScopeSessionWithStaticTypes

@NonNullByDefault
public class FeatureScopeSession
extends AbstractFeatureScopeSession

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
FeatureScopeSession(AbstractFeatureScopeSession parent, FeatureScopeProvider featureScopeProvider)
           
 
Method Summary
protected  void addLocalElements(java.util.List<IEObjectDescription> result)
           
protected  FeatureScopeProvider getFeatureScopeProvider()
           
protected  int getId()
           
 IEObjectDescription getLocalElement(QualifiedName name)
           
protected  AbstractFeatureScopeSession getParent()
           
protected  IScopeProvider getScopeProvider()
           
 java.util.List<TypeBucket> getStaticallyImportedExtensionTypes()
           
 java.util.List<TypeBucket> getStaticallyImportedTypes()
           
 
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
addLocalElement, addLocalElements, addToExtensionScope, addTypesToStaticScope, createFeatureCallScope, getLocalElements, getScope, recursiveInitialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureScopeSession

public FeatureScopeSession(AbstractFeatureScopeSession parent,
                           FeatureScopeProvider featureScopeProvider)
Method Detail

getScopeProvider

protected IScopeProvider getScopeProvider()
Specified by:
getScopeProvider in class AbstractFeatureScopeSession

getFeatureScopeProvider

protected FeatureScopeProvider getFeatureScopeProvider()
Specified by:
getFeatureScopeProvider in class AbstractFeatureScopeSession

getParent

protected AbstractFeatureScopeSession getParent()

getLocalElement

@Nullable
public IEObjectDescription getLocalElement(QualifiedName name)

addLocalElements

protected void addLocalElements(java.util.List<IEObjectDescription> result)
Overrides:
addLocalElements in class AbstractFeatureScopeSession
Parameters:
result - the list of all local elements. Shadowing semantics does not have to be applied.

getStaticallyImportedTypes

public java.util.List<TypeBucket> getStaticallyImportedTypes()
Specified by:
getStaticallyImportedTypes in interface IFeatureScopeSession
Overrides:
getStaticallyImportedTypes in class AbstractFeatureScopeSession

getStaticallyImportedExtensionTypes

public java.util.List<TypeBucket> getStaticallyImportedExtensionTypes()
Specified by:
getStaticallyImportedExtensionTypes in interface IFeatureScopeSession
Overrides:
getStaticallyImportedExtensionTypes in class AbstractFeatureScopeSession

getId

protected int getId()
Specified by:
getId in class AbstractFeatureScopeSession