| 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 'ast.dart' show ASTNode; | 8 import 'ast.dart' show ASTNode; |
| 9 import 'scanner.dart' show Token; | 9 import 'scanner.dart' show Token; |
| 10 | 10 |
| (...skipping 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1388 String toString() => __name; | 1388 String toString() => __name; |
| 1389 } | 1389 } |
| 1390 /** | 1390 /** |
| 1391 * The interface {@code AnalysisErrorListener} defines the behavior of objects t
hat listen for{@link AnalysisError analysis errors} being produced by the analys
is engine. | 1391 * The interface {@code AnalysisErrorListener} defines the behavior of objects t
hat listen for{@link AnalysisError analysis errors} being produced by the analys
is engine. |
| 1392 * @coverage dart.engine.error | 1392 * @coverage dart.engine.error |
| 1393 */ | 1393 */ |
| 1394 abstract class AnalysisErrorListener { | 1394 abstract class AnalysisErrorListener { |
| 1395 /** | 1395 /** |
| 1396 * An error listener that ignores errors that are reported to it. | 1396 * An error listener that ignores errors that are reported to it. |
| 1397 */ | 1397 */ |
| 1398 AnalysisErrorListener _NULL_LISTENER = new AnalysisErrorListener_4(); | 1398 static AnalysisErrorListener _NULL_LISTENER = new AnalysisErrorListener_4(); |
| 1399 /** | 1399 /** |
| 1400 * This method is invoked when an error has been found by the analysis engine. | 1400 * This method is invoked when an error has been found by the analysis engine. |
| 1401 * @param error the error that was just found (not {@code null}) | 1401 * @param error the error that was just found (not {@code null}) |
| 1402 */ | 1402 */ |
| 1403 void onError(AnalysisError error); | 1403 void onError(AnalysisError error); |
| 1404 } | 1404 } |
| 1405 class AnalysisErrorListener_4 implements AnalysisErrorListener { | 1405 class AnalysisErrorListener_4 implements AnalysisErrorListener { |
| 1406 void onError(AnalysisError event) { | 1406 void onError(AnalysisError event) { |
| 1407 } | 1407 } |
| 1408 } | 1408 } |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1633 StaticTypeWarningCode(this.__name, this.__ordinal, String message) { | 1633 StaticTypeWarningCode(this.__name, this.__ordinal, String message) { |
| 1634 this._message = message; | 1634 this._message = message; |
| 1635 } | 1635 } |
| 1636 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity; | 1636 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity; |
| 1637 String get message => _message; | 1637 String get message => _message; |
| 1638 ErrorType get type => ErrorType.STATIC_TYPE_WARNING; | 1638 ErrorType get type => ErrorType.STATIC_TYPE_WARNING; |
| 1639 bool needsRecompilation() => true; | 1639 bool needsRecompilation() => true; |
| 1640 int compareTo(StaticTypeWarningCode other) => __ordinal - other.__ordinal; | 1640 int compareTo(StaticTypeWarningCode other) => __ordinal - other.__ordinal; |
| 1641 String toString() => __name; | 1641 String toString() => __name; |
| 1642 } | 1642 } |
| OLD | NEW |