parameters: (self, location, enum_name)
docstring: Add an error for an enum having duplicate values.
docstring_summary: Add an error for an enum having duplicate values.
docstring_tokens: Add an error for an enum having duplicate values .
function: def add_enum_non_continuous_range_error(self, location, enum_name):
          # type: (common.SourceLocation, str) -> None
          """Add an error for an enum having duplicate values."""
          # pylint: disable=invalid-name
          self._add_error(location, ERROR_ID_ENUM_NON_CONTINUOUS_RANGE,
                          ("Enum '%s' has non-continuous integer variables, enums must have a " +
                           "continuous range of integer variables.") % (enum_name))
function_tokens: def add_enum_non_continuous_range_error ( self , location , enum_name ) : # type: (common.SourceLocation, str) -> None # pylint: disable=invalid-name self . _add_error ( location , ERROR_ID_ENUM_NON_CONTINUOUS_RANGE , ( "Enum '%s' has non-continuous integer variables, enums must have a " + "continuous range of integer variables." ) % ( enum_name ) )