mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-03-29 08:31:28 +00:00
Add remaining docstrings to complete documentation coverage
Co-authored-by: varun-r-mallya <100590632+varun-r-mallya@users.noreply.github.com>
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
"""Registry for statement handler functions."""
|
||||
|
||||
from typing import Dict
|
||||
|
||||
|
||||
@ -11,6 +13,7 @@ class StatementHandlerRegistry:
|
||||
"""Register a handler for a specific statement type."""
|
||||
|
||||
def decorator(handler):
|
||||
"""Decorator that registers the handler."""
|
||||
cls._handlers[stmt_type] = handler
|
||||
return handler
|
||||
|
||||
|
||||
Reference in New Issue
Block a user