use of org.jetbrains.kotlin.js.translate.reference.AccessTranslator in project kotlin by JetBrains.
the class OverloadedAssignmentTranslator method reassignment.
@NotNull
private JsExpression reassignment() {
KtExpression left = expression.getLeft();
assert left != null;
AccessTranslator accessTranslator = AccessTranslationUtils.getAccessTranslator(left, context()).getCached();
JsExpression newValue = overloadedMethodInvocation(accessTranslator);
return accessTranslator.translateAsSet(newValue);
}
Aggregations