KaCompoundVariableAccessCall
Last modified: 13 February 2025Represents a compound access to a mutable variable within Kotlin code. These accesses combine reading, modifying, and writing back the variable's value in a single expression, using operators like +=
, -=
, ++
, or --
.
Hierarchy
Inherits KaCall.
Members
KaCompoundOperation
The compoundOperation
property returns an instance of KaCompoundOperation
which might be:
KaCompoundAssignOperation
: A compound assignment operation (+=
,*=
, etc.).KaCompoundUnaryOperation
: An infix and postfix increment (++
) and decrement (--
) operations.