org.eclipse.xtext.xbase.typesystem.internal
Class RootExpressionComputationState
java.lang.Object
org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
org.eclipse.xtext.xbase.typesystem.internal.AbstractRootTypeComputationState
org.eclipse.xtext.xbase.typesystem.internal.RootExpressionComputationState
- All Implemented Interfaces:
- ITypeComputationState, ITypeComputationState.Fork
@NonNullByDefault
public class RootExpressionComputationState
- extends AbstractRootTypeComputationState
- Author:
- Sebastian Zarnekow - Initial contribution and API
TODO JavaDoc, toString
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState |
acceptActualType, addLocalToCurrentScope, assignType, assignTypes, computeTypes, computeTypes, computeTypesWithoutMerge, createCandidate, createCandidate, createExpressionComputationState, createTypeAssigner, discardReassignedTypes, fork, getFeatureScopeSession, getImmediateExpectations, getLinkingCandidates, getLinkingCandidates, getResolvedTypes, getResolver, getReturnExpectations, getServices, getType, getTypeArgumentMerger, getTypeComputer, getTypeReferences, reassignType, withExpectation, withNonVoidExpectation, withoutExpectation, withoutImmediateExpectation, withReturnExpectation, withTypeCheckpoint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootExpressionComputationState
public RootExpressionComputationState(ResolvedTypes resolvedTypes,
IFeatureScopeSession featureScopeSession,
XExpression expression,
DefaultReentrantTypeResolver defaultReentrantTypeResolver)
RootExpressionComputationState
public RootExpressionComputationState(ResolvedTypes resolvedTypes,
IFeatureScopeSession featureScopeSession,
XExpression expression,
DefaultReentrantTypeResolver defaultReentrantTypeResolver,
@Nullable
JvmTypeReference expectedType)
getExpectations
protected java.util.List<ITypeExpectation> getExpectations(AbstractTypeComputationState actualState,
boolean returnType)
- Specified by:
getExpectations
in class AbstractRootTypeComputationState
getRootExpression
protected XExpression getRootExpression()
- Specified by:
getRootExpression
in class AbstractRootTypeComputationState