Class AbstractLinkingCandidate.ArgumentTypeComputationState
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractStackedTypeComputationState
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractLinkingCandidate.ArgumentTypeComputationState
-
- All Implemented Interfaces:
ITypeComputationState
- Enclosing class:
- AbstractLinkingCandidate<Expression extends XExpression>
protected class AbstractLinkingCandidate.ArgumentTypeComputationState extends AbstractStackedTypeComputationState
-
-
Field Summary
-
Fields inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
resolvedTypes
-
-
Constructor Summary
Constructors Constructor Description ArgumentTypeComputationState(AbstractTypeComputationState parent, LightweightTypeReference expectedType, int defaultFlags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractTypeExpectation
createTypeExpectation(LightweightTypeReference expectedType, AbstractTypeComputationState actualState, boolean returnType, int flags)
protected int
getDefaultFlags()
protected java.util.List<AbstractTypeExpectation>
getExpectations(AbstractTypeComputationState actualState)
protected LightweightTypeReference
getExpectedType()
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractStackedTypeComputationState
acceptType, acceptType, getParent, getReturnExpectations
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
acceptActualType, acceptActualType, acceptActualType, acceptActualType, acceptCandidate, addDiagnostic, addExtensionsToCurrentScope, addExtensionToCurrentScope, addImports, addLocalToCurrentScope, addLocalToCurrentScope, addTypeToStaticExtensionImportScope, addTypeToStaticImportScope, afterScope, assignType, assignType, assignType, assignTypes, computeTypes, createCandidate, createCandidate, createCandidateWithReceiverType, createExpressionComputationState, createResolvedLink, createResolvedLink, createTypeAssigner, createUnboundTypeReference, discardReassignedTypes, doComputeTypes, getExpectations, getExpectedExceptions, getFeatureScopeSession, getLinkingCandidates, getLinkingCandidates, getReferenceOwner, getResolvedTypes, getResolver, getReturnExpectations, getSeverities, getSeverity, getSingleExpectation, getTypeComputer, getTypeReferences, isIgnored, pushTypes, reassignType, refineExpectedType, rewriteScope, toIdentifiableDescription, toString, withExpectation, withExpectedExceptions, withinScope, withNonVoidExpectation, withNonVoidExpectation, withoutExpectation, withoutRootExpectation, withReturnExpectation, withRootExpectation, withTypeCheckpoint
-
-
-
-
Constructor Detail
-
ArgumentTypeComputationState
public ArgumentTypeComputationState(AbstractTypeComputationState parent, LightweightTypeReference expectedType, int defaultFlags)
-
-
Method Detail
-
getExpectations
protected java.util.List<AbstractTypeExpectation> getExpectations(AbstractTypeComputationState actualState)
- Overrides:
getExpectations
in classAbstractStackedTypeComputationState
-
createTypeExpectation
protected AbstractTypeExpectation createTypeExpectation(LightweightTypeReference expectedType, AbstractTypeComputationState actualState, boolean returnType, int flags)
-
getDefaultFlags
protected int getDefaultFlags()
-
getExpectedType
protected LightweightTypeReference getExpectedType()
-
-