pedant-core 0.20.1

Analysis engine for pedant: IR extraction, style checks, and capability detection
Documentation
/// Normalized `#[cfg(…)]` conditions carried by the site inventory.
pub(crate) mod cfg;
/// Data-flow findings produced by semantic enrichment.
pub mod dataflow;
/// Single-pass AST visitor that populates [`FileIr`] from a parsed source file.
pub mod extract;
/// IR data structures: fact types, spans, and enums.
pub mod facts;
/// Adapter for `ra_ap_ide` semantic analysis (type resolution, trait queries).
///
/// Always available — the [`SemanticContext`](semantic::SemanticContext) type
/// is unconstructable without the `semantic` feature, but exists so that
/// `analyze()` can accept `Option<&SemanticContext>` unconditionally.
pub mod semantic;
/// The authoritative definition and reference site inventory.
pub mod sites;
pub(crate) mod type_introspection;

pub use dataflow::*;
pub use extract::extract;
pub use facts::*;
pub use sites::*;

/// The Rust path separator token used when building qualified paths.
pub(crate) const PATH_SEPARATOR: &str = "::";