Skip to main content

perl_semantic_analyzer/analysis/
mod.rs

1//! Semantic analysis, symbol extraction, and type inference.
2
3/// Class model for Moose/Moo/Mouse intelligence.
4pub mod class_model;
5/// Go-to-declaration support and parent map construction.
6#[cfg(not(target_arch = "wasm32"))]
7pub mod declaration;
8/// Export symbol extraction for Exporter-based Perl modules.
9#[cfg(not(target_arch = "wasm32"))]
10pub mod export_analyzer;
11/// Generated member extraction from Moo/Moose `has` declarations.
12#[cfg(not(target_arch = "wasm32"))]
13pub mod generated_member_extractor;
14/// Import specification extraction for static `use` statements.
15#[cfg(not(target_arch = "wasm32"))]
16pub mod import_extractor;
17/// Lightweight workspace symbol index.
18#[cfg(not(target_arch = "wasm32"))]
19pub mod index;
20/// Package graph edge extraction from inheritance and role-composition patterns.
21#[cfg(not(target_arch = "wasm32"))]
22pub mod package_graph_extractor;
23/// Scope analysis for variable and subroutine resolution.
24#[allow(missing_docs)]
25pub mod scope_analyzer;
26/// Semantic analyzer and token classification.
27pub mod semantic;
28/// Symbol extraction and symbol table construction.
29pub mod symbol;
30/// Type inference engine for Perl variable analysis.
31pub mod type_inference;
32/// Lightweight value-shape inference from constructor calls, bless, and `$self`.
33#[cfg(not(target_arch = "wasm32"))]
34pub mod value_shape_inferrer;