protected XExpression getSyntacticalReceiver(final XAbstractFeatureCall call) { return new FeatureLinkHelper().getSyntacticReceiver(call); }
protected XExpression getSyntacticReceiver() { return helper.getSyntacticReceiver(getFeatureCall()); }
protected XExpression getSyntacticReceiver() { return new FeatureLinkHelper().getSyntacticReceiver(getFeatureCall()); } }
protected XExpression getSyntacticReceiver() { return new FeatureLinkHelper().getSyntacticReceiver(getFeatureCall()); }
@Override public void applyToComputationState() { FeatureLinkHelper helper = new FeatureLinkHelper(); XExpression receiver = helper.getSyntacticReceiver(getFeatureCall()); state.withNonVoidExpectation().computeTypes(receiver); for(XExpression argument: helper.getSyntacticArguments(getFeatureCall())) { state.withNonVoidExpectation().computeTypes(argument); } }
if ((context instanceof TypeAwareLinkingDiagnosticContext)) { final IResolvedTypes types = ((TypeAwareLinkingDiagnosticContext)context).getResolvedTypes(); XExpression _syntacticReceiver = this._featureLinkHelper.getSyntacticReceiver(featureCall); boolean _tripleNotEquals = (_syntacticReceiver != null); if (_tripleNotEquals) { recieverType = types.getActualType(this._featureLinkHelper.getSyntacticReceiver(featureCall));
protected IFeatureLinkingCandidate createResolvedLink(XAbstractFeatureCall featureCall, JvmIdentifiableElement resolvedTo) { ExpressionAwareStackedResolvedTypes resolvedTypes = this.resolvedTypes.pushTypes(featureCall); ExpressionTypeComputationState state = createExpressionComputationState(featureCall, resolvedTypes); FeatureLinkHelper helper = new FeatureLinkHelper(); XExpression syntacticReceiver = helper.getSyntacticReceiver(featureCall); if (syntacticReceiver != null) { AbstractTypeComputationState child = state.withNonVoidExpectation(); child.computeTypes(syntacticReceiver); } XExpression implicitReceiver = featureCall.getImplicitReceiver(); if (implicitReceiver != null) { AbstractTypeComputationState child = state.withNonVoidExpectation(); child.computeTypes(implicitReceiver); } XExpression implicitFirstArgument = featureCall.getImplicitFirstArgument(); if (implicitFirstArgument != null) { AbstractTypeComputationState child = state.withNonVoidExpectation(); child.computeTypes(implicitFirstArgument); } if (featureCall.isTypeLiteral() || featureCall.isPackageFragment()) { return new ResolvedTypeLiteral(featureCall, resolvedTo, getSingleExpectation(state), state); } return new ResolvedFeature(featureCall, resolvedTo, helper, getSingleExpectation(state), state); }