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

Side by Side Diff: pkg/analyzer_experimental/lib/src/generated/error.dart

Issue 25373002: Issue 13584. Fix for Java/Dart local variable scoping mismatch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 library engine.error; 3 library engine.error;
4 import 'java_core.dart'; 4 import 'java_core.dart';
5 import 'source.dart'; 5 import 'source.dart';
6 import 'ast.dart' show ASTNode; 6 import 'ast.dart' show ASTNode;
7 import 'scanner.dart' show Token; 7 import 'scanner.dart' show Token;
8 /** 8 /**
9 * Instances of the enumeration `ErrorSeverity` represent the severity of an [Er rorCode] 9 * Instances of the enumeration `ErrorSeverity` represent the severity of an [Er rorCode]
10 * . 10 * .
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 void reportError4(ErrorCode errorCode, Token token, List<Object> arguments) { 199 void reportError4(ErrorCode errorCode, Token token, List<Object> arguments) {
200 reportError3(errorCode, token.offset, token.length, arguments); 200 reportError3(errorCode, token.offset, token.length, arguments);
201 } 201 }
202 202
203 /** 203 /**
204 * Set the source to be used when reporting errors. Setting the source to `nul l` will cause 204 * Set the source to be used when reporting errors. Setting the source to `nul l` will cause
205 * the default source to be used. 205 * the default source to be used.
206 * 206 *
207 * @param source the source to be used when reporting errors 207 * @param source the source to be used when reporting errors
208 */ 208 */
209 void set source(Source source2) { 209 void set source(Source source) {
210 this._source = source2 == null ? _defaultSource : source2; 210 this._source = source == null ? _defaultSource : source;
211 } 211 }
212 } 212 }
213 /** 213 /**
214 * Instances of the class `AnalysisError` represent an error discovered during t he analysis of 214 * Instances of the class `AnalysisError` represent an error discovered during t he analysis of
215 * some Dart code. 215 * some Dart code.
216 * 216 *
217 * @see AnalysisErrorListener 217 * @see AnalysisErrorListener
218 * @coverage dart.engine.error 218 * @coverage dart.engine.error
219 */ 219 */
220 class AnalysisError { 220 class AnalysisError {
(...skipping 3140 matching lines...) Expand 10 before | Expand all | Expand 10 after
3361 */ 3361 */
3362 StaticTypeWarningCode.con2(String name, int ordinal, String message, String co rrection) : super(name, ordinal) { 3362 StaticTypeWarningCode.con2(String name, int ordinal, String message, String co rrection) : super(name, ordinal) {
3363 this._message = message; 3363 this._message = message;
3364 this.correction6 = correction; 3364 this.correction6 = correction;
3365 } 3365 }
3366 String get correction => correction6; 3366 String get correction => correction6;
3367 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity; 3367 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity;
3368 String get message => _message; 3368 String get message => _message;
3369 ErrorType get type => ErrorType.STATIC_TYPE_WARNING; 3369 ErrorType get type => ErrorType.STATIC_TYPE_WARNING;
3370 } 3370 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698