Expand description
The analysis module contains data structures and logic
used to run combined parsing, linting, and formatting
operations within this WASM crate.
§Analysis Module
The analysis module contains the primary data structures and logic for
performing a combined parse, semantic analysis, lint, and (optional)
formatting pass on PHP code via Mago. It provides a high-level interface
(see AnalysisResults::analyze) that accepts code plus configuration,
and returns detailed information about the analyzed code, including parse
and semantic issues, linter results, and a formatted output.
Structs§
- Analysis
Results - Represents the result of analyzing and formatting PHP code.