API reference

python:irx:irx.analysis.handlers._expressions.mutation.ExpressionMutationVisitorMixin._resolve_mutation_target

method _resolve_mutation_target

_resolve_mutation_target(target: astx.AST, *, node: astx.AST, action: str, invalid_message: str, require_reassignment: bool = True) -> tuple[SemanticSymbol, str, astx.DataType | None] | None

Source: packages/irx/src/irx/analysis/handlers/_expressions/mutation.py:82

Resolve a binding-write or owned-object mutation target.

Rebinding requires symbol or member mutability. In-place object operations may opt out but must still validate ownership and domain restrictions before authorizing a store.

Parameters

Returns

Resolved a binding-write or owned-object mutation target.; Type: tuple[SemanticSymbol, str, astx.DataType | None] | None

Search documentation

Type to search.