r2x-ast 0.0.2

AST discovery utilities for the r2x CLI
Documentation

AST-based plugin discovery using ast-grep

This module provides static analysis based plugin discovery by:

  1. Using ast-grep to parse Python source code without runtime (Phase 1)
  2. Extracting plugin definitions from the register_plugin() function
  3. Resolving class/function references to extract metadata (Phase 2)
  4. Associating decorator registrations with plugins (Phase 3)

This approach is significantly faster than Python-based discovery and requires no Python interpreter startup.