{"ast_node_type":"function","tokens":[{"end":42,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn has_primal_ret(&self) -> bool {
impl AutoDiffAttrs {
        matches!(self.ret_activity, DiffActivity::Active | DiffActivity::Dual)