syntax_data: {"ast_node_type":"other","tokens":[{"end":29,"kind":"keyword","start":0,"text":"def.is_enum()"}]}
source_snippet:                 def.is_enum()
context_before:             let discriminants_iter = || {
context_after:                     .then(|| def.discriminants(tcx).map(|(v, d)| (v, d.val as i128)))