Class ScopeProviderAccess
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.internal.ScopeProviderAccess
-
public class ScopeProviderAccess extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScopeProviderAccess.ErrorDescription
-
Constructor Summary
Constructors Constructor Description ScopeProviderAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<org.eclipse.xtext.resource.IEObjectDescription>getCandidateDescriptions(XExpression expression, org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EObject toBeLinked, IFeatureScopeSession session, IResolvedTypes types)Returns a bunch of descriptions most of which are actuallydescribing identifiables.protected IConstructorLinkingCandidategetKnownConstructor(XConstructorCall constructorCall, AbstractTypeComputationState state, ResolvedTypes resolvedTypes)protected IFeatureLinkingCandidategetKnownFeature(XAbstractFeatureCall featureCall, AbstractTypeComputationState state, ResolvedTypes resolvedTypes)
-
-
-
Method Detail
-
getKnownFeature
protected IFeatureLinkingCandidate getKnownFeature(XAbstractFeatureCall featureCall, AbstractTypeComputationState state, ResolvedTypes resolvedTypes)
-
getKnownConstructor
protected IConstructorLinkingCandidate getKnownConstructor(XConstructorCall constructorCall, AbstractTypeComputationState state, ResolvedTypes resolvedTypes)
-
getCandidateDescriptions
public java.lang.Iterable<org.eclipse.xtext.resource.IEObjectDescription> getCandidateDescriptions(XExpression expression, org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EObject toBeLinked, IFeatureScopeSession session, IResolvedTypes types) throws org.eclipse.xtext.linking.impl.IllegalNodeException
Returns a bunch of descriptions most of which are actuallydescribing identifiables. The provided iterable is never empty but it may contain a singleerror description.- Returns:
- the available descriptions.
- Throws:
org.eclipse.xtext.linking.impl.IllegalNodeException
-
-