| OLD | NEW |
| 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 | 3 |
| 4 library engine.error; | 4 library engine.error; |
| 5 | 5 |
| 6 import 'java_core.dart'; | 6 import 'java_core.dart'; |
| 7 import 'source.dart'; | 7 import 'source.dart'; |
| 8 import 'scanner.dart' show Token; | 8 import 'scanner.dart' show Token; |
| 9 import 'ast.dart' show ASTNode; | 9 import 'ast.dart' show ASTNode; |
| 10 import 'element.dart' show Element; | 10 import 'element.dart' show Element; |
| (...skipping 3218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3229 /** | 3229 /** |
| 3230 * The interface `AnalysisErrorListener` defines the behavior of objects that li
sten for | 3230 * The interface `AnalysisErrorListener` defines the behavior of objects that li
sten for |
| 3231 * [AnalysisError] being produced by the analysis engine. | 3231 * [AnalysisError] being produced by the analysis engine. |
| 3232 * | 3232 * |
| 3233 * @coverage dart.engine.error | 3233 * @coverage dart.engine.error |
| 3234 */ | 3234 */ |
| 3235 abstract class AnalysisErrorListener { | 3235 abstract class AnalysisErrorListener { |
| 3236 /** | 3236 /** |
| 3237 * An error listener that ignores errors that are reported to it. | 3237 * An error listener that ignores errors that are reported to it. |
| 3238 */ | 3238 */ |
| 3239 static final AnalysisErrorListener NULL_LISTENER = new AnalysisErrorListener_6
(); | 3239 static final AnalysisErrorListener NULL_LISTENER = new AnalysisErrorListener_N
ULL_LISTENER(); |
| 3240 | 3240 |
| 3241 /** | 3241 /** |
| 3242 * This method is invoked when an error has been found by the analysis engine. | 3242 * This method is invoked when an error has been found by the analysis engine. |
| 3243 * | 3243 * |
| 3244 * @param error the error that was just found (not `null`) | 3244 * @param error the error that was just found (not `null`) |
| 3245 */ | 3245 */ |
| 3246 void onError(AnalysisError error); | 3246 void onError(AnalysisError error); |
| 3247 } | 3247 } |
| 3248 | 3248 |
| 3249 class AnalysisErrorListener_6 implements AnalysisErrorListener { | 3249 class AnalysisErrorListener_NULL_LISTENER implements AnalysisErrorListener { |
| 3250 void onError(AnalysisError event) { | 3250 void onError(AnalysisError event) { |
| 3251 } | 3251 } |
| 3252 } | 3252 } |
| 3253 | 3253 |
| 3254 /** | 3254 /** |
| 3255 * The enumeration `HtmlWarningCode` defines the error codes used for warnings i
n HTML files. | 3255 * The enumeration `HtmlWarningCode` defines the error codes used for warnings i
n HTML files. |
| 3256 * The convention for this class is for the name of the error code to indicate t
he problem that | 3256 * The convention for this class is for the name of the error code to indicate t
he problem that |
| 3257 * caused the error to be generated and for the error message to explain what is
wrong and, when | 3257 * caused the error to be generated and for the error message to explain what is
wrong and, when |
| 3258 * appropriate, how the problem can be corrected. | 3258 * appropriate, how the problem can be corrected. |
| 3259 * | 3259 * |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3632 StaticTypeWarningCode.con2(String name, int ordinal, this.message, String corr
ection) : super(name, ordinal) { | 3632 StaticTypeWarningCode.con2(String name, int ordinal, this.message, String corr
ection) : super(name, ordinal) { |
| 3633 this.correction7 = correction; | 3633 this.correction7 = correction; |
| 3634 } | 3634 } |
| 3635 | 3635 |
| 3636 String get correction => correction7; | 3636 String get correction => correction7; |
| 3637 | 3637 |
| 3638 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity; | 3638 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity; |
| 3639 | 3639 |
| 3640 ErrorType get type => ErrorType.STATIC_TYPE_WARNING; | 3640 ErrorType get type => ErrorType.STATIC_TYPE_WARNING; |
| 3641 } | 3641 } |
| OLD | NEW |