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

Unified Diff: sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
diff --git a/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart b/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
deleted file mode 100644
index 40d77b10f8f3cac4c9a58eddf7028691fd16458c..0000000000000000000000000000000000000000
--- a/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-part of dart2js;
-
-abstract class DiagnosticListener {
- // TODO(karlklose): rename log to something like reportInfo.
- void log(message);
-
- void internalError(Spannable spannable, message);
-
- SourceSpan spanFromSpannable(Spannable node);
-
- /// Reports an error and terminates computation immediately.
- void reportFatalError(Spannable node, MessageKind errorCode,
- [Map arguments = const {}]);
-
- void reportError(Spannable node, MessageKind errorCode,
- [Map arguments = const {}]);
-
- void reportWarning(Spannable node, MessageKind errorCode,
- [Map arguments = const {}]);
-
- void reportHint(Spannable node, MessageKind errorCode,
- [Map arguments = const {}]);
-
- void reportInfo(Spannable node, MessageKind errorCode,
- [Map arguments = const {}]);
-
- // TODO(ahe): We should not expose this here. Perhaps a
- // [SourceSpan] should implement [Spannable], and we should have a
- // way to construct a [SourceSpan] from a [Spannable] and an
- // [Element].
- withCurrentElement(Element element, f());
-}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/deferred_load.dart ('k') | sdk/lib/_internal/compiler/implementation/dump_info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698