glinter/walker
Values
pub fn collect(module: glance.Module) -> rule.ModuleData
Walk the AST once, collecting all expressions and statements into flat lists.
pub fn module_only(module: glance.Module) -> rule.ModuleData
Wrap a module without collecting expressions or statements. Use when no active rules need expression/statement lists.