code: def p_enum_item(self, p):
          '''enum_item : IDENTIFIER '=' INTCONSTANT annotations
                       | IDENTIFIER annotations'''
          if len(p) == 5:
              p[0] = ast.EnumItem(
                  name=p[1], value=p[3], annotations=p[4], lineno=p.lineno(1)
              )
          else:
              p[0] = ast.EnumItem(
                  name=p[1], value=None, annotations=p[2], lineno=p.lineno(1)
              f p_enum_item(self, p):
          '''enum_item : IDENTIFIER '=' INTCONSTANT annotations
                       | IDENTIFIER annotations'''
          if len(p) == 5:
              p[0] = ast.EnumItem(
                  name=p[1], value=p[3], annotations=p[4], lineno=p.lineno(1)
              )
          else:
              p[0] = ast.EnumItem(
                  name=p[1], value=None, annotations=p[2], lineno=p.lineno(1)
              )
docs: enum_item : IDENTIFIER '=' INTCONSTANT annotations
                       | IDENTIFIER annotations