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

Unified Diff: pkg/compiler/lib/src/common.dart

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/common/backend_api.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common.dart
diff --git a/pkg/compiler/lib/src/common.dart b/pkg/compiler/lib/src/common.dart
index 400ba5d537947331836fe9ff4884ee6d6942e880..df3ad462af185193a83a702a5345cc33e08563cd 100644
--- a/pkg/compiler/lib/src/common.dart
+++ b/pkg/compiler/lib/src/common.dart
@@ -2,61 +2,24 @@
// 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.
+/// Library that re-exports libraries used throughout the compiler regardless
+/// of phase or subfunctionality.
library dart2js.common;
-
-export 'common/names.dart' show
- Names;
-
-export 'common/tasks.dart' show
- CompilerTask;
-
-export 'compiler.dart' show
- Compiler;
-
-export 'constants/values.dart' show
- ConstantValue,
- InterceptorConstantValue,
- NullConstantValue,
- TypeConstantValue;
-
-export 'dart_types.dart' show
- DartType,
- FunctionType,
- InterfaceType,
- TypeVariableType,
- Types;
-
+export 'diagnostics/diagnostic_listener.dart' show
+ DiagnosticMessage,
+ DiagnosticReporter;
export 'diagnostics/invariant.dart' show
+ assertDebugMode,
+ InternalErrorFunction,
invariant;
-
+export 'diagnostics/messages.dart' show
+ MessageKind;
+export 'diagnostics/source_span.dart' show
+ SourceSpan;
export 'diagnostics/spannable.dart' show
+ CURRENT_ELEMENT_SPANNABLE,
+ NO_LOCATION_SPANNABLE,
+ Spannable,
SpannableAssertionFailure;
-
-export 'elements/elements.dart' show
- ClassElement,
- CompilationUnitElement,
- Element,
- Elements,
- FunctionElement,
- FunctionSignature,
- LibraryElement,
- MetadataAnnotation,
- MixinApplicationElement,
- TypedefElement,
- VariableElement;
-
-export 'tree/tree.dart' show
- Node;
-
-export 'types/types.dart' show
- TypeMask;
-
-export 'universe/call_structure.dart' show
- CallStructure;
-
-export 'universe/selector.dart' show
- Selector;
-
-export 'util/util.dart' show
- Link;
+export 'helpers/helpers.dart';
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/common/backend_api.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698