Skip to content

VariableReassignment

class VariableReassignment(
    val expression: KtExpression, 
    val variable: KaVariableSymbol, 
    val isAugmented: Boolean
)

Represents a local variable reassignment.

Constructors

VariableReassignment

constructor(
    expression: KtExpression, 
    variable: KaVariableSymbol, 
    isAugmented: Boolean
)

Properties

expression

The reassignment expression.

isAugmented

true if the variable is both read and set (as in x += y or x++).

variable

Reassigned variable symbol.