API reference

python:irx:irx.analysis.context.SemanticContext.next_method_slot

method next_method_slot

next_method_slot() -> int

Source: packages/irx/src/irx/analysis/context.py:138

Return a fresh class-method dispatch slot.

Generate a deterministic dispatch-table slot index for one newly introduced overridable instance method.

Returns

Type: int

Search documentation

Type to search.