Module analyzer

Module analyzer 

Source
Available on crate feature analysis only.
Expand description

Style analyzer for comprehensive ASS script style analysis

Provides the main StyleAnalyzer interface for resolving styles, detecting conflicts, and performing validation. Orchestrates analysis across multiple sub-modules with efficient caching and zero-copy design.

§Features

  • Comprehensive style resolution with inheritance support
  • Conflict detection including circular inheritance and duplicates
  • Performance analysis with configurable thresholds
  • Validation with multiple severity levels
  • Zero-copy analysis with lifetime-generic references

§Performance

  • Target: <2ms for complete script style analysis
  • Memory: Efficient caching with zero-copy style references
  • Lazy evaluation: Analysis performed only when requested

Structs§

AnalysisOptions
Analysis options for style analyzer
PerformanceThresholds
Performance analysis threshold configuration
StyleAnalysisConfig
Configuration for style analysis behavior
StyleAnalyzer
Comprehensive style analyzer for ASS scripts