{"ast_node_type":"function","tokens":[{"end":97,"kind":"keyword","start":0,"text":"pub(crate)"}]}
pub(crate) fn convert_bool_then_to_if(acc: &mut Assists, ctx: &AssistContext<'_>) -> Option<()> {
// ```
    let name_ref = ctx.find_node_at_offset::<ast::NameRef>()?;