code: def p_export(self, p):
          '''export : IDENTIFIER LPAREN opt_param_types RPAREN
                    | IDENTIFIER
                    | EXPORT LPAREN opt_param_types RPAREN
                    | ORDER LPAREN opt_param_types RPAREN'''
          # unlikely case: the IDENTIFIER is an otherwise reserved name
          if len(p) > 2:
              sigs = p[3] or ((),)
          else:
              sigs = ()
          p[0] = p[1], sigf p_export(self, p):
          '''export : IDENTIFIER LPAREN opt_param_types RPAREN
                    | IDENTIFIER
                    | EXPORT LPAREN opt_param_types RPAREN
                    | ORDER LPAREN opt_param_types RPAREN'''
          # unlikely case: the IDENTIFIER is an otherwise reserved name
          if len(p) > 2:
              sigs = p[3] or ((),)
          else:
              sigs = ()
          p[0] = p[1], sigs
docs: export : IDENTIFIER LPAREN opt_param_types RPAREN
                    | IDENTIFIER
                    | EXPORT LPAREN opt_param_types RPAREN
                    | ORDER LPAREN opt_param_types RPAREN