syntax_data: {"ast_node_type":"function","tokens":[{"end":34,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn is_enum(self) -> bool {
context_before:     #[inline]
context_after:         matches!(self.kind(), Adt(adt_def, _) if adt_def.is_enum())