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

java.lang.Object
  extended by org.eclipse.xtext.scoping.impl.AbstractScope
      extended by org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
          extended by org.eclipse.xtext.xbase.scoping.batch.ReceiverFeatureScope
All Implemented Interfaces:
IScope

public class ReceiverFeatureScope
extends AbstractSessionBasedScope

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.scoping.impl.AbstractScope
AbstractScope.ParentIterable
 
Field Summary
 
Fields inherited from interface org.eclipse.xtext.scoping.IScope
NULLSCOPE
 
Constructor Summary
protected ReceiverFeatureScope(IScope parent, IFeatureScopeSession session, XExpression receiver, JvmTypeReference receiverType, XAbstractFeatureCall featureCall, TypeBucket bucket, OperatorMapping operatorMapping)
           
 
Method Summary
protected  java.lang.Iterable<IEObjectDescription> getAllLocalElements()
           
protected  java.lang.String getFeatureName(QualifiedName name)
           
protected  java.util.Collection<IEObjectDescription> getLocalElementsByName(QualifiedName name)
           
 
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
getElements, getFeatureCall, getLocalElementsByEObject, getSession, getShadowingKey, isShadowed
 
Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractScope
getAllElements, getElements, getParent, getParentElements, getSingleElement, getSingleElement, getSingleLocalElementByName, isIgnoreCase, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReceiverFeatureScope

protected ReceiverFeatureScope(IScope parent,
                               IFeatureScopeSession session,
                               XExpression receiver,
                               JvmTypeReference receiverType,
                               XAbstractFeatureCall featureCall,
                               TypeBucket bucket,
                               OperatorMapping operatorMapping)
Method Detail

getLocalElementsByName

protected java.util.Collection<IEObjectDescription> getLocalElementsByName(QualifiedName name)
Specified by:
getLocalElementsByName in class AbstractSessionBasedScope

getFeatureName

protected java.lang.String getFeatureName(QualifiedName name)
Overrides:
getFeatureName in class AbstractSessionBasedScope

getAllLocalElements

protected java.lang.Iterable<IEObjectDescription> getAllLocalElements()
Specified by:
getAllLocalElements in class AbstractScope