API reference
python:irx:irx.analysis.handlers._declarations.blocks.DeclarationBlockVisitorMixin._resolve_local_resource_ownership
method _resolve_local_resource_ownership
_resolve_local_resource_ownership(node: astx.VariableDeclaration | astx.InlineVariableDeclaration, symbol: SemanticSymbol) -> None
Source: packages/irx/src/irx/analysis/handlers/_declarations/blocks.py:60
Attach the ownership contract for one local declaration.
Parameters
-
node — Type: astx.VariableDeclaration | astx.InlineVariableDeclaration
-
symbol — Type: SemanticSymbol