pub fn compute_css_analytics(source: &str) -> Option<CssAnalytics>Expand description
Compute structural CSS analytics for a standard-CSS stylesheet source.
Returns None only on a hard parse failure; with error recovery on,
individual malformed rules are skipped and the rest of the sheet still
contributes. Callers must gate by extension and NOT pass .scss sources:
Sass syntax is not standard CSS and recovers into an inaccurate partial
rather than None. Parsing runs in CSS Modules mode so :local() /
:global() selectors are understood.