Function mz_walkabout::ir::analyze

source ยท
pub(crate) fn analyze(syn_items: &[DeriveInput]) -> Result<Ir>
Expand description

Analyzes the provided items and produces an IR.

This is a very, very lightweight semantic analysis phase for Rust code. Our main goal is to determine the type of each field of a struct or enum variant, so we know how to visit it. See Type for details.