Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: pkg/analyzer_experimental/lib/src/generated/error.dart

Issue 14161021: Generate unique names less aggressively. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer_experimental/lib/src/generated/error.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/error.dart b/pkg/analyzer_experimental/lib/src/generated/error.dart
index 73469f963b11786459deb0f6cf0ca3f27e866e87..5f5ed370f32b7f0ae45d7b57b8ce53293eb6dfbe 100644
--- a/pkg/analyzer_experimental/lib/src/generated/error.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/error.dart
@@ -123,8 +123,8 @@ class ErrorReporter {
* the default source to be used.
* @param source the source to be used when reporting errors
*/
- void set source(Source source7) {
- this._source = source7 == null ? _defaultSource : source7;
+ void set source(Source source2) {
+ this._source = source2 == null ? _defaultSource : source2;
}
}
/**
@@ -188,13 +188,13 @@ class AnalysisError {
* @param errorCode the error code to be associated with this error
* @param arguments the arguments used to build the error message
*/
- AnalysisError.con1(Source source2, ErrorCode errorCode3, List<Object> arguments) {
- _jtd_constructor_131_impl(source2, errorCode3, arguments);
+ AnalysisError.con1(Source source2, ErrorCode errorCode2, List<Object> arguments) {
+ _jtd_constructor_131_impl(source2, errorCode2, arguments);
}
- _jtd_constructor_131_impl(Source source2, ErrorCode errorCode3, List<Object> arguments) {
+ _jtd_constructor_131_impl(Source source2, ErrorCode errorCode2, List<Object> arguments) {
this._source = source2;
- this._errorCode = errorCode3;
- this._message = JavaString.format(errorCode3.message, arguments);
+ this._errorCode = errorCode2;
+ this._message = JavaString.format(errorCode2.message, arguments);
}
/**
* Initialize a newly created analysis error for the specified source at the given location.
@@ -204,15 +204,15 @@ class AnalysisError {
* @param errorCode the error code to be associated with this error
* @param arguments the arguments used to build the error message
*/
- AnalysisError.con2(Source source3, int offset2, int length11, ErrorCode errorCode4, List<Object> arguments) {
- _jtd_constructor_132_impl(source3, offset2, length11, errorCode4, arguments);
+ AnalysisError.con2(Source source2, int offset2, int length2, ErrorCode errorCode2, List<Object> arguments) {
+ _jtd_constructor_132_impl(source2, offset2, length2, errorCode2, arguments);
}
- _jtd_constructor_132_impl(Source source3, int offset2, int length11, ErrorCode errorCode4, List<Object> arguments) {
- this._source = source3;
+ _jtd_constructor_132_impl(Source source2, int offset2, int length2, ErrorCode errorCode2, List<Object> arguments) {
+ this._source = source2;
this._offset = offset2;
- this._length = length11;
- this._errorCode = errorCode4;
- this._message = JavaString.format(errorCode4.message, arguments);
+ this._length = length2;
+ this._errorCode = errorCode2;
+ this._message = JavaString.format(errorCode2.message, arguments);
}
/**
* Return the error code associated with the error.
@@ -251,8 +251,8 @@ class AnalysisError {
* Set the source in which the error occurred to the given source.
* @param source the source in which the error occurred
*/
- void set source(Source source4) {
- this._source = source4;
+ void set source(Source source2) {
+ this._source = source2;
}
String toString() {
JavaStringBuilder builder = new JavaStringBuilder();

Powered by Google App Engine
This is Rietveld 408576698