org.eclipse.xtext.xbase.typesystem.internal
Class ChildExpressionTypeComputationState
java.lang.Object
org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
org.eclipse.xtext.xbase.typesystem.internal.AbstractStackedTypeComputationState
org.eclipse.xtext.xbase.typesystem.internal.ExpressionTypeComputationState
org.eclipse.xtext.xbase.typesystem.internal.ChildExpressionTypeComputationState
- All Implemented Interfaces:
- ITypeComputationState, ITypeComputationState.Fork
@NonNullByDefault
public class ChildExpressionTypeComputationState
- extends ExpressionTypeComputationState
- Author:
- Sebastian Zarnekow - Initial contribution and API
TODO JavaDoc, toString
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState |
acceptActualType, addLocalToCurrentScope, assignType, computeTypes, computeTypes, computeTypesWithoutMerge, createCandidate, createCandidate, createTypeAssigner, discardReassignedTypes, fork, getFeatureScopeSession, getImmediateExpectations, getLinkingCandidates, getLinkingCandidates, getResolvedTypes, getResolver, getReturnExpectations, getServices, getType, getTypeArgumentMerger, getTypeComputer, getTypeReferences, reassignType, withExpectation, withNonVoidExpectation, withoutExpectation, withoutImmediateExpectation, withReturnExpectation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChildExpressionTypeComputationState
protected ChildExpressionTypeComputationState(ResolvedTypes resolvedTypes,
IFeatureScopeSession featureScopeSession,
DefaultReentrantTypeResolver reentrantTypeResolver,
ExpressionTypeComputationState parent,
XExpression expression)
getParent
protected ExpressionTypeComputationState getParent()
- Overrides:
getParent
in class AbstractStackedTypeComputationState
acceptType
protected JvmTypeReference acceptType(ResolvedTypes resolvedTypes,
AbstractTypeExpectation expectation,
JvmTypeReference type,
ConformanceHint conformanceHint,
boolean returnType)
- Overrides:
acceptType
in class ExpressionTypeComputationState
assignTypes
public AbstractTypeComputationState.TypeAssigner assignTypes()
- Specified by:
assignTypes
in interface ITypeComputationState
- Overrides:
assignTypes
in class ExpressionTypeComputationState
withTypeCheckpoint
public AbstractTypeComputationState withTypeCheckpoint()
- Specified by:
withTypeCheckpoint
in interface ITypeComputationState.Fork
- Overrides:
withTypeCheckpoint
in class ExpressionTypeComputationState