org.eclipse.xtext.xbase.typesystem.internal
Class AbstractLogicalContainerAwareRootComputationState

java.lang.Object
  extended by org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
      extended by org.eclipse.xtext.xbase.typesystem.internal.AbstractRootTypeComputationState
          extended by org.eclipse.xtext.xbase.typesystem.internal.AbstractLogicalContainerAwareRootComputationState
All Implemented Interfaces:
ITypeComputationState, ITypeComputationState.Fork
Direct Known Subclasses:
ConstructorBodyComputationState, FieldTypeComputationState, OperationBodyComputationState

public abstract class AbstractLogicalContainerAwareRootComputationState
extends AbstractRootTypeComputationState

Author:
Sebastian Zarnekow - Initial contribution and API TODO JavaDoc, toString

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
AbstractTypeComputationState.TypeAssigner
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.xbase.typesystem.computation.ITypeComputationState
ITypeComputationState.Fork
 
Constructor Summary
protected AbstractLogicalContainerAwareRootComputationState(ResolvedTypes resolvedTypes, IFeatureScopeSession featureScopeSession, JvmMember member, LogicalContainerAwareReentrantTypeResolver reentrantTypeResolver)
           
 
Method Summary
protected  JvmMember getMember()
           
protected  LogicalContainerAwareReentrantTypeResolver getResolver()
           
protected  XExpression getRootExpression()
           
 
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractRootTypeComputationState
acceptType, computeTypes, getExpectations, getImmediateExpectations, getReturnExpectations
 
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, 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
 

Constructor Detail

AbstractLogicalContainerAwareRootComputationState

protected AbstractLogicalContainerAwareRootComputationState(ResolvedTypes resolvedTypes,
                                                            IFeatureScopeSession featureScopeSession,
                                                            JvmMember member,
                                                            LogicalContainerAwareReentrantTypeResolver reentrantTypeResolver)
Method Detail

getMember

protected JvmMember getMember()

getResolver

@NonNull
protected LogicalContainerAwareReentrantTypeResolver getResolver()
Overrides:
getResolver in class AbstractTypeComputationState

getRootExpression

@Nullable
protected XExpression getRootExpression()
Specified by:
getRootExpression in class AbstractRootTypeComputationState