use of org.eclipse.xtext.xbase.typesystem.computation.ClosureWithExpectationHelper in project xtext-xtend by eclipse.
the class ExtensionAwareClosureTypeComputer method createClosureWithExpectationHelper.
@Override
protected ClosureWithExpectationHelper createClosureWithExpectationHelper(JvmOperation operation) {
return new ClosureWithExpectationHelper(getClosure(), operation, getExpectation(), getState()) {
@Override
protected ITypeComputationState assignParameters(ITypeAssigner typeAssigner) {
ITypeComputationState result = super.assignParameters(typeAssigner);
addExtensions(result);
return result;
}
};
}
Aggregations