{"ast_node_type":"function","tokens":[{"end":62,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn num_variants(self, db: &dyn HirDatabase) -> usize {
        self.id.enum_variants(db).variants.len()