@NonNullByDefault public class ClosureWithoutExpectationHelper extends AbstractClosureTypeHelper
ClosureWithExpectationHelper
Modifier | Constructor and Description |
---|---|
protected |
ClosureWithoutExpectationHelper(XClosure closure,
ITypeExpectation expectation,
ITypeComputationState state) |
Modifier and Type | Method and Description |
---|---|
protected void |
computeTypes() |
protected ITypeComputationState |
getClosureBodyTypeComputationState(ITypeAssigner typeAssigner,
FunctionTypeReference incompleteClosureType) |
FunctionTypeReference |
getExpectedClosureType()
This method is only public for testing purpose.
|
protected FunctionTypeReference |
getFunctionTypeReference(boolean isProcedure) |
JvmOperation |
getOperation()
This method is only public for testing purpose.
|
protected void |
initClosureType(FunctionTypeReference result,
boolean isProcedure) |
protected FunctionTypeReference |
processExpressionType(FunctionTypeReference incompleteClosureType,
ITypeComputationResult expressionResult) |
deferredBindTypeArgument, getClosure, getExpectation, getServices, getState
protected ClosureWithoutExpectationHelper(XClosure closure, ITypeExpectation expectation, ITypeComputationState state)
protected void computeTypes()
computeTypes
in class AbstractClosureTypeHelper
public FunctionTypeReference getExpectedClosureType()
AbstractClosureTypeHelper
getExpectedClosureType
in class AbstractClosureTypeHelper
public JvmOperation getOperation()
AbstractClosureTypeHelper
getOperation
in class AbstractClosureTypeHelper
protected FunctionTypeReference getFunctionTypeReference(boolean isProcedure)
protected void initClosureType(FunctionTypeReference result, boolean isProcedure)
protected ITypeComputationState getClosureBodyTypeComputationState(ITypeAssigner typeAssigner, FunctionTypeReference incompleteClosureType)
protected FunctionTypeReference processExpressionType(FunctionTypeReference incompleteClosureType, ITypeComputationResult expressionResult)