code: def p_annotation_type(self, p):
          
          p[0] = AstAnnotationTypeDef(
              path=self.path,
              lineno=p.lineno(1),
              lexpos=p.lexpos(1),
              name=p[2],
              doc=p[5],
              params=p[6])
docs: annotation_type : ANNOTATION_TYPE ID NL \
                                INDENT docsection field_list DEDENT