parameters: (a, b)
return_statement: return a.start_index - b.start_index
docstring: Compare two error objects, by source code order.
  
      Args:
        a: First error object.
        b: Second error object.
  
      Returns:
        A Negative/0/Positive number when a is before/the same as/after b.
docstring_summary: Compare two error objects, by source code order.
docstring_tokens: Compare two error objects by source code order .
function: def Compare(a, b):
      """Compare two error objects, by source code order.
  
      Args:
        a: First error object.
        b: Second error object.
  
      Returns:
        A Negative/0/Positive number when a is before/the same as/after b.
      """
      line_diff = a.token.line_number - b.token.line_number
      if line_diff:
        return line_diff
  
      return a.start_index - b.start_index
function_tokens: def Compare ( a , b ) : line_diff = a . token . line_number - b . token . line_number if line_diff : return line_diff return a . start_index - b . start_index