{"ast_node_type":"function","tokens":[{"end":47,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn num_generic_params(&self) -> usize {
    /// It should only be used for diagnostics.
        self.args.iter().filter(|arg| !matches!(arg, GenericArg::Lifetime(_))).count()