public class ReceiverFeatureScope extends AbstractStaticOrInstanceFeatureScope implements IVisibilityHelper
AbstractSessionBasedScope.NameAcceptorALL| Constructor and Description |
|---|
ReceiverFeatureScope(org.eclipse.xtext.scoping.IScope parent,
IFeatureScopeSession session,
XExpression receiver,
LightweightTypeReference receiverType,
boolean implicit,
XAbstractFeatureCall featureCall,
TypeBucket bucket,
org.eclipse.xtext.common.types.JvmIdentifiableElement receiverFeature,
OperatorMapping operatorMapping,
boolean validStaticState) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDescription(org.eclipse.xtext.naming.QualifiedName name,
org.eclipse.xtext.common.types.JvmFeature feature,
java.util.List<org.eclipse.xtext.resource.IEObjectDescription> result) |
protected org.eclipse.xtext.resource.IEObjectDescription |
createDescription(org.eclipse.xtext.naming.QualifiedName name,
org.eclipse.xtext.common.types.JvmFeature feature,
TypeBucket bucket) |
protected java.util.List<org.eclipse.xtext.common.types.JvmFeature> |
findAllFeaturesByName(org.eclipse.xtext.common.types.JvmType type,
java.lang.String simpleName,
IResolvedFeatures.Provider resolvedFeaturesProvider) |
protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> |
getAllLocalElements() |
protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> |
getLocalElementsByName(org.eclipse.xtext.naming.QualifiedName name) |
protected java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> |
getReceiverTypeParameterMapping() |
boolean |
isVisible(org.eclipse.xtext.common.types.JvmMember member)
Returns
true if the member is visible according to the JvmVisibility and the local context. |
addDescriptionsgetOperatorMapping, processFeatureNamesaddToList, addToList, getElements, getFeatureCall, getLocalElementsByEObject, getSession, getShadowingKey, isShadowed, processAsPropertyNames, toProperty, toProperty, tryGetAsPropertyNamepublic ReceiverFeatureScope(org.eclipse.xtext.scoping.IScope parent,
IFeatureScopeSession session,
XExpression receiver,
LightweightTypeReference receiverType,
boolean implicit,
XAbstractFeatureCall featureCall,
TypeBucket bucket,
org.eclipse.xtext.common.types.JvmIdentifiableElement receiverFeature,
OperatorMapping operatorMapping,
boolean validStaticState)
public boolean isVisible(org.eclipse.xtext.common.types.JvmMember member)
IVisibilityHelpertrue if the member is visible according to the JvmVisibility and the local context.isVisible in interface IVisibilityHelpermember - the member that shall be accessed.true if the feature can be accessed.protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> getLocalElementsByName(org.eclipse.xtext.naming.QualifiedName name)
getLocalElementsByName in class AbstractSessionBasedScopeprotected java.util.List<org.eclipse.xtext.common.types.JvmFeature> findAllFeaturesByName(org.eclipse.xtext.common.types.JvmType type,
java.lang.String simpleName,
IResolvedFeatures.Provider resolvedFeaturesProvider)
findAllFeaturesByName in class AbstractSessionBasedScopeprotected org.eclipse.xtext.resource.IEObjectDescription createDescription(org.eclipse.xtext.naming.QualifiedName name,
org.eclipse.xtext.common.types.JvmFeature feature,
TypeBucket bucket)
protected java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> getReceiverTypeParameterMapping()
protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> getAllLocalElements()
getAllLocalElements in class AbstractSessionBasedScopeprotected void addDescription(org.eclipse.xtext.naming.QualifiedName name,
org.eclipse.xtext.common.types.JvmFeature feature,
java.util.List<org.eclipse.xtext.resource.IEObjectDescription> result)
addDescription in class AbstractStaticOrInstanceFeatureScope