Class EmptyResolvedTypes
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- org.eclipse.xtext.xbase.typesystem.internal.ForwardingResolvedTypes
-
- org.eclipse.xtext.xbase.typesystem.internal.EmptyResolvedTypes
-
- All Implemented Interfaces:
IResolvedTypes
public class EmptyResolvedTypes extends ForwardingResolvedTypes
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.xtext.xbase.typesystem.IResolvedTypes
IResolvedTypes.NullResolvedTypes
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.xbase.typesystem.IResolvedTypes
NULL
-
-
Constructor Summary
Constructors Constructor Description EmptyResolvedTypes(IFeatureScopeSession session, FeatureScopes featureScopes, ITypeReferenceOwner owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IResolvedTypes
delegate()
IExpressionScope
getExpressionScope(org.eclipse.emf.ecore.EObject context, IExpressionScope.Anchor anchor)
Returns the scope the given expression is contained in.-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.ForwardingResolvedTypes
getActualType, getActualType, getActualTypeArguments, getAmbiguousLinkingCandidates, getExpectedReturnType, getExpectedType, getFollowUpErrors, getLinkedFeature, getLinkedFeature, getLinkingCandidate, getLinkingCandidate, getQueuedDiagnostics, getReturnType, getReturnType, getThrownExceptions, hasExpressionScope, isRefinedType, isVoidTypeAllowed
-
-
-
-
Constructor Detail
-
EmptyResolvedTypes
public EmptyResolvedTypes(IFeatureScopeSession session, FeatureScopes featureScopes, ITypeReferenceOwner owner)
-
-
Method Detail
-
delegate
protected IResolvedTypes delegate()
- Specified by:
delegate
in classForwardingResolvedTypes
-
getExpressionScope
public IExpressionScope getExpressionScope(org.eclipse.emf.ecore.EObject context, IExpressionScope.Anchor anchor)
Description copied from interface:IResolvedTypes
Returns the scope the given expression is contained in. This considers all decision paths that were taken while computing the type of the expression. The returned scope carries some meta data such as whether there was an attempt to resolve the given expression as a type.- Specified by:
getExpressionScope
in interfaceIResolvedTypes
- Overrides:
getExpressionScope
in classForwardingResolvedTypes
-
-