KaCompoundVariableAccessCall
KaCompoundVariableAccessCall represents a compound access to a mutable variable. Such accesses combine reading, modifying, and writing back the variable's value in a single expression using operators like +=, -=, ++, or --.
var i = 0
i += 1
i++
Hierarchy
Inherits KaMultiCall. (It also inherits the legacy KaCall for historical reasons.)
Members
val variableCall: KaVariableAccessCallThe variable read/write part of the compound expression — a full KaVariableAccessCall.
val compoundOperation: KaCompoundOperationThe compound operation kind. See KaCompoundOperation.
compoundOperation.operationCallgives the resolved operator function call (e.g.Int.plusfor+=orInt.incfor++); the operation call is also available directly on the inheritedKaCompoundAccessCall.operationCall.val variablePartiallyAppliedSymbol: KaPartiallyAppliedVariableSymbol<KaVariableSymbol>— deprecatedThe legacy wrapper around the variable's symbol. Replaced by
variableCall.
19 May 2026