Crate issun_analyzer

Crate issun_analyzer 

Source
Expand description

Static analysis tool for ISSUN EventBus and Hook systems

This library provides tools to analyze Rust source code and extract:

  • Event subscriptions (EventReader)
  • Event publications (EventBus::publish())
  • Hook trait definitions and calls
  • System and Plugin structures

Re-exports§

pub use analyzer::Analyzer;
pub use error::AnalyzerError;
pub use error::Result;
pub use types::AnalysisResult;
pub use types::EventPublication;
pub use types::EventSubscription;
pub use types::FileAnalysis;
pub use types::HookCall;
pub use types::HookCategory;
pub use types::HookInfo;
pub use types::HookMethod;
pub use types::PluginInfo;
pub use types::SystemInfo;

Modules§

analyzer
Core analyzer for parsing Rust source files
error
Error types for the analyzer
event_extractor
Event extraction logic for EventReader and EventBus::publish
graph_generator
Mermaid graph generation for Event and Hook flows
hook_extractor
Hook trait analysis and call site detection
plugin_extractor
Plugin structure inference from directory layout
prelude
Re-export commonly used types
system_extractor
System structure extraction logic
types
Core types for analysis results
validator
Validation of event flows and system dependencies