API reference
python:irx:irx.analysis.SemanticClassMember
class SemanticClassMember
SemanticClassMember(symbol_id: str, name: str, qualified_name: str, owner_name: str, owner_qualified_name: str, kind: ClassMemberKind, visibility: astx.VisibilityKind, is_static: bool, is_abstract: bool, is_constant: bool, is_mutable: bool, declaration: astx.AST, type_: astx.DataType | None = None, signature: FunctionSignature | None = None, signature_key: str | None = None, overrides: str | None = None, dispatch_slot: int | None = None, lowered_function: 'SemanticFunction' | None = None)
Source: packages/irx/src/irx/analysis/resolved_nodes.py:421
Declared as: python:irx:irx.analysis.resolved_nodes.SemanticClassMember
Canonical semantic class-member record.
Normalize one declared class member so later phases can reason about visibility, storage, mutability, and overrides without re-reading raw AST modifier fields.
Attributes
-
symbol_id — Identifier for symbol.; Type: str
-
name — Name identifying this declaration.; Type: str
-
qualified_name — Name of qualified.; Type: str
-
owner_name — Name of owner.; Type: str
-
owner_qualified_name — Name of owner qualified.; Type: str
-
kind — Kind of value or operation.; Type: ClassMemberKind
-
visibility — Visibility.; Type: astx.VisibilityKind
-
is_static — Whether the member belongs to the class rather than an instance.; Type: bool
-
is_abstract — Whether is abstract.; Type: bool
-
is_constant — Whether is constant.; Type: bool
-
is_mutable — Whether is mutable.; Type: bool
-
declaration — Declaration being processed.; Type: astx.AST
-
type_ — Type associated with this expression.; Type: astx.DataType | None
-
signature — Resolved callable signature.; Type: FunctionSignature | None
-
signature_key — Signature key.; Type: str | None
-
overrides — Overrides.; Type: str | None
-
dispatch_slot — Dispatch slot.; Type: int | None
-
lowered_function — Lowered function.; Type: 'SemanticFunction' | None
Methods
- __init__ —