API reference
python:irx:irx.analysis.ResourceOwnership
class ResourceOwnership
ResourceOwnership(resource_kind: ResourceKind, kind: OwnershipKind, owner_symbol_id: str | None = None, source_symbol_id: str | None = None, transfer_kind: OwnershipTransferKind = OwnershipTransferKind.NONE, escape_kind: OwnershipEscapeKind = OwnershipEscapeKind.NONE)
Source: packages/irx/src/irx/analysis/resolved_nodes.py:148
Declared as: python:irx:irx.analysis.resolved_nodes.ResourceOwnership
Resolved ownership and escape metadata for one resource value.
Attributes
-
resource_kind — Resource kind.; Type: ResourceKind
-
kind — Kind of value or operation.; Type: OwnershipKind
-
owner_symbol_id — Identifier for owner symbol.; Type: str | None
-
source_symbol_id — Identifier for source symbol.; Type: str | None
-
transfer_kind — Transfer kind.; Type: OwnershipTransferKind
-
escape_kind — Escape kind.; Type: OwnershipEscapeKind
Methods
- __init__ —