parameters: (self, location, struct_name, comparison_order)
docstring: Add an error about fields having duplicate comparison_orders.
docstring_summary: Add an error about fields having duplicate comparison_orders.
docstring_tokens: Add an error about fields having duplicate comparison_orders .
function: def add_duplicate_comparison_order_field_error(self, location, struct_name, comparison_order):
          # type: (common.SourceLocation, str, int) -> None
          """Add an error about fields having duplicate comparison_orders."""
          # pylint: disable=invalid-name
          self._add_error(
              location, ERROR_ID_IS_DUPLICATE_COMPARISON_ORDER,
              ("Struct '%s' cannot have two fields with the same comparison_order value '%d'.") %
              (struct_name, comparison_order))
function_tokens: def add_duplicate_comparison_order_field_error ( self , location , struct_name , comparison_order ) : # type: (common.SourceLocation, str, int) -> None # pylint: disable=invalid-name self . _add_error ( location , ERROR_ID_IS_DUPLICATE_COMPARISON_ORDER , ( "Struct '%s' cannot have two fields with the same comparison_order value '%d'." ) % ( struct_name , comparison_order ) )