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

java.lang.Object
  extended by org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
      extended by org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSession
          extended by org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSessionWithLocalElements
All Implemented Interfaces:
IFeatureScopeSession

@NonNullByDefault
public class FeatureScopeSessionWithLocalElements
extends FeatureScopeSession

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
FeatureScopeSessionWithLocalElements(AbstractFeatureScopeSession parent, FeatureScopeProvider featureScopeProvider, java.util.Map<QualifiedName,JvmIdentifiableElement> map)
           
 
Method Summary
protected  void addLocalElements(java.util.List<IEObjectDescription> result)
           
 IEObjectDescription getLocalElement(QualifiedName name)
           
 
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSession
getFeatureScopeProvider, getId, getParent, getScopeProvider, getStaticallyImportedExtensionTypes, 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

FeatureScopeSessionWithLocalElements

public FeatureScopeSessionWithLocalElements(AbstractFeatureScopeSession parent,
                                            FeatureScopeProvider featureScopeProvider,
                                            java.util.Map<QualifiedName,JvmIdentifiableElement> map)
Method Detail

getLocalElement

@Nullable
public IEObjectDescription getLocalElement(QualifiedName name)
Specified by:
getLocalElement in interface IFeatureScopeSession
Overrides:
getLocalElement in class FeatureScopeSession

addLocalElements

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