{"ast_node_type":"variable","tokens":[{"end":81,"kind":"keyword","start":0,"text":"if"}]}
        if let Some(ty) = resolution.and_then(|res| match Definition::from(res) {
    {
            Definition::Const(it) => Some(it.ty(db)),