pub fn extract_access_patterns( statements: &[Stmt], ) -> Result<Vec<Pattern>, InferenceError>
Extract access patterns from a list of statements