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

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

Issue 16103010: Fixes for translator and DDA status files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 {@code ErrorSeverity} represent the severity of an {@link ErrorCode}. 9 * Instances of the enumeration {@code ErrorSeverity} represent the severity of an {@link ErrorCode}.
10 * @coverage dart.engine.error 10 * @coverage dart.engine.error
(...skipping 2204 matching lines...) Expand 10 before | Expand all | Expand 10 after
2215 } 2215 }
2216 /** 2216 /**
2217 * The interface {@code AnalysisErrorListener} defines the behavior of objects t hat listen for{@link AnalysisError analysis errors} being produced by the analys is engine. 2217 * The interface {@code AnalysisErrorListener} defines the behavior of objects t hat listen for{@link AnalysisError analysis errors} being produced by the analys is engine.
2218 * @coverage dart.engine.error 2218 * @coverage dart.engine.error
2219 */ 2219 */
2220 abstract class AnalysisErrorListener { 2220 abstract class AnalysisErrorListener {
2221 2221
2222 /** 2222 /**
2223 * An error listener that ignores errors that are reported to it. 2223 * An error listener that ignores errors that are reported to it.
2224 */ 2224 */
2225 static AnalysisErrorListener _NULL_LISTENER = new AnalysisErrorListener_5(); 2225 static final AnalysisErrorListener _NULL_LISTENER = new AnalysisErrorListener_ 5();
2226 2226
2227 /** 2227 /**
2228 * This method is invoked when an error has been found by the analysis engine. 2228 * This method is invoked when an error has been found by the analysis engine.
2229 * @param error the error that was just found (not {@code null}) 2229 * @param error the error that was just found (not {@code null})
2230 */ 2230 */
2231 void onError(AnalysisError error); 2231 void onError(AnalysisError error);
2232 } 2232 }
2233 class AnalysisErrorListener_5 implements AnalysisErrorListener { 2233 class AnalysisErrorListener_5 implements AnalysisErrorListener {
2234 void onError(AnalysisError event) { 2234 void onError(AnalysisError event) {
2235 } 2235 }
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
2509 */ 2509 */
2510 StaticTypeWarningCode(this.name, this.ordinal, String message) { 2510 StaticTypeWarningCode(this.name, this.ordinal, String message) {
2511 this._message = message; 2511 this._message = message;
2512 } 2512 }
2513 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity; 2513 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity;
2514 String get message => _message; 2514 String get message => _message;
2515 ErrorType get type => ErrorType.STATIC_TYPE_WARNING; 2515 ErrorType get type => ErrorType.STATIC_TYPE_WARNING;
2516 int compareTo(StaticTypeWarningCode other) => ordinal - other.ordinal; 2516 int compareTo(StaticTypeWarningCode other) => ordinal - other.ordinal;
2517 String toString() => name; 2517 String toString() => name;
2518 } 2518 }
OLDNEW
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/engine.dart ('k') | pkg/analyzer_experimental/lib/src/generated/java_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698