Skip to main content

Module count

Module count 

Source
Expand description

Node counting by kind or category, and the shared CountCollector.

Structs§

Count
Count of different types of nodes in a code.
CountCollector
Opaque, shareable collector that accumulates a Count across the worker threads of a big_code_analysis::ConcurrentRunner walk.

Functions§

count
Counts the types of nodes specified in the input slice and the number of nodes in a code. Crate-internal walk core reached through the big_code_analysis::Ast::count seam.