{"ast_node_type":"function","tokens":[{"end":75,"kind":"keyword","start":0,"text":"fn"}]}
fn is_snake_case<F: Fn(char) -> bool>(ident: &str, wrong_case: F) -> bool {
// Modified to allow checking for both upper and lower snake case.
    if ident.is_empty() {