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

Side by Side Diff: pkg/compiler/lib/src/library_loader.dart

Issue 1286143003: Move diagnostic_listener.dart and messages.dart to the diagnostics folder (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.library_loader; 5 library dart2js.library_loader;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'common/tasks.dart' show 9 import 'common/tasks.dart' show
10 CompilerTask; 10 CompilerTask;
11 import 'compiler.dart' show 11 import 'compiler.dart' show
12 Compiler; 12 Compiler;
13 import 'diagnostic_listener.dart'; 13 import 'diagnostics/diagnostic_listener.dart';
14 import 'diagnostics/invariant.dart' show 14 import 'diagnostics/invariant.dart' show
15 invariant; 15 invariant;
16 import 'diagnostics/messages.dart' show
17 MessageKind;
16 import 'elements/elements.dart' show 18 import 'elements/elements.dart' show
17 CompilationUnitElement, 19 CompilationUnitElement,
18 Element, 20 Element,
19 LibraryElement, 21 LibraryElement,
20 PrefixElement; 22 PrefixElement;
21 import 'elements/modelx.dart' show 23 import 'elements/modelx.dart' show
22 CompilationUnitElementX, 24 CompilationUnitElementX,
23 DeferredLoaderGetterElementX, 25 DeferredLoaderGetterElementX,
24 ErroneousElementX, 26 ErroneousElementX,
25 LibraryElementX, 27 LibraryElementX,
26 PrefixElementX; 28 PrefixElementX;
27 import 'messages.dart' show
28 MessageKind;
29 import 'native/native.dart' as native; 29 import 'native/native.dart' as native;
30 import 'script.dart'; 30 import 'script.dart';
31 import 'tree/tree.dart'; 31 import 'tree/tree.dart';
32 import 'util/util.dart' show 32 import 'util/util.dart' show
33 Link, 33 Link,
34 LinkBuilder; 34 LinkBuilder;
35 35
36 /** 36 /**
37 * [CompilerTask] for loading libraries and setting up the import/export scopes. 37 * [CompilerTask] for loading libraries and setting up the import/export scopes.
38 * 38 *
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 } 1214 }
1215 suffixes.add(const Link<Uri>().prepend(canonicalUri)); 1215 suffixes.add(const Link<Uri>().prepend(canonicalUri));
1216 } 1216 }
1217 suffixChainMap[library] = suffixes; 1217 suffixChainMap[library] = suffixes;
1218 return; 1218 return;
1219 } 1219 }
1220 1220
1221 computeSuffixes(rootLibrary, const Link<Uri>()); 1221 computeSuffixes(rootLibrary, const Link<Uri>());
1222 } 1222 }
1223 } 1223 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart ('k') | pkg/compiler/lib/src/messages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698