public static int ByLocation(SyntaxError x, SyntaxError y) { return(SourceLocation.Compare(x.Location, y.Location)); }
public static int ByLocation(ParserMessage x, ParserMessage y) { return(SourceLocation.Compare(x.Location, y.Location)); }