function analyze_css(stylesheet, analysis) {
	/** @type {CssState} */
	const css_state = {
		keyframes: analysis.css.keyframes,
		rule: null,
		analysis
	};

	walk(stylesheet, css_state, css_visitors);
}
@param {AST.CSS.StyleSheet} stylesheet
@param {ComponentAnalysis} analysis