| 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 3112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3123 /** | 3123 /** |
| 3124 * The interface `AnalysisErrorListener` defines the behavior of objects that li
sten for | 3124 * The interface `AnalysisErrorListener` defines the behavior of objects that li
sten for |
| 3125 * [AnalysisError] being produced by the analysis engine. | 3125 * [AnalysisError] being produced by the analysis engine. |
| 3126 * | 3126 * |
| 3127 * @coverage dart.engine.error | 3127 * @coverage dart.engine.error |
| 3128 */ | 3128 */ |
| 3129 abstract class AnalysisErrorListener { | 3129 abstract class AnalysisErrorListener { |
| 3130 /** | 3130 /** |
| 3131 * An error listener that ignores errors that are reported to it. | 3131 * An error listener that ignores errors that are reported to it. |
| 3132 */ | 3132 */ |
| 3133 static final AnalysisErrorListener _NULL_LISTENER = new AnalysisErrorListener_
6(); | 3133 static final AnalysisErrorListener NULL_LISTENER = new AnalysisErrorListener_6
(); |
| 3134 | 3134 |
| 3135 /** | 3135 /** |
| 3136 * This method is invoked when an error has been found by the analysis engine. | 3136 * This method is invoked when an error has been found by the analysis engine. |
| 3137 * | 3137 * |
| 3138 * @param error the error that was just found (not `null`) | 3138 * @param error the error that was just found (not `null`) |
| 3139 */ | 3139 */ |
| 3140 void onError(AnalysisError error); | 3140 void onError(AnalysisError error); |
| 3141 } | 3141 } |
| 3142 | 3142 |
| 3143 class AnalysisErrorListener_6 implements AnalysisErrorListener { | 3143 class AnalysisErrorListener_6 implements AnalysisErrorListener { |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3536 } | 3536 } |
| 3537 | 3537 |
| 3538 String get correction => correction6; | 3538 String get correction => correction6; |
| 3539 | 3539 |
| 3540 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity; | 3540 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity; |
| 3541 | 3541 |
| 3542 String get message => _message; | 3542 String get message => _message; |
| 3543 | 3543 |
| 3544 ErrorType get type => ErrorType.STATIC_TYPE_WARNING; | 3544 ErrorType get type => ErrorType.STATIC_TYPE_WARNING; |
| 3545 } | 3545 } |
| OLD | NEW |