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

Side by Side Diff: pkg/dart2js_incremental/lib/library_updater.dart

Issue 690103004: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/dart2js_incremental/lib/diff.dart ('k') | pkg/docgen/lib/src/exports/dart2js_mirrors.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_incremental.library_updater; 5 library dart2js_incremental.library_updater;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 Future; 8 Future;
9 9
10 import 'dart:convert' show 10 import 'dart:convert' show
11 UTF8; 11 UTF8;
12 12
13 import 'package:compiler/compiler.dart' as api; 13 import 'package:compiler/compiler.dart' as api;
14 14
15 import 'package:compiler/implementation/dart2jslib.dart' show 15 import 'package:compiler/src/dart2jslib.dart' show
16 Compiler, 16 Compiler,
17 Script; 17 Script;
18 18
19 import 'package:compiler/implementation/elements/elements.dart' show 19 import 'package:compiler/src/elements/elements.dart' show
20 Element, 20 Element,
21 FunctionElement, 21 FunctionElement,
22 LibraryElement, 22 LibraryElement,
23 ScopeContainerElement; 23 ScopeContainerElement;
24 24
25 import 'package:compiler/implementation/scanner/scannerlib.dart' show 25 import 'package:compiler/src/scanner/scannerlib.dart' show
26 EOF_TOKEN, 26 EOF_TOKEN,
27 PartialClassElement, 27 PartialClassElement,
28 PartialElement, 28 PartialElement,
29 PartialFunctionElement, 29 PartialFunctionElement,
30 Token; 30 Token;
31 31
32 import 'package:compiler/implementation/source_file.dart' show 32 import 'package:compiler/src/source_file.dart' show
33 StringSourceFile; 33 StringSourceFile;
34 34
35 import 'package:compiler/implementation/tree/tree.dart' show 35 import 'package:compiler/src/tree/tree.dart' show
36 ClassNode, 36 ClassNode,
37 FunctionExpression, 37 FunctionExpression,
38 NodeList; 38 NodeList;
39 39
40 import 'package:compiler/implementation/js/js.dart' show 40 import 'package:compiler/src/js/js.dart' show
41 js; 41 js;
42 42
43 import 'package:compiler/implementation/js/js.dart' as jsAst; 43 import 'package:compiler/src/js/js.dart' as jsAst;
44 44
45 import 'package:compiler/implementation/js_emitter/js_emitter.dart' show 45 import 'package:compiler/src/js_emitter/js_emitter.dart' show
46 CodeEmitterTask, 46 CodeEmitterTask,
47 MemberInfo; 47 MemberInfo;
48 48
49 import 'package:compiler/js_lib/shared/embedded_names.dart' as embeddedNames; 49 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart'
50 as embeddedNames;
50 51
51 import 'package:compiler/implementation/js_backend/js_backend.dart' show 52 import 'package:compiler/src/js_backend/js_backend.dart' show
52 JavaScriptBackend, 53 JavaScriptBackend,
53 Namer; 54 Namer;
54 55
55 import 'diff.dart' show 56 import 'diff.dart' show
56 Difference, 57 Difference,
57 computeDifference; 58 computeDifference;
58 59
59 typedef void Logger(message); 60 typedef void Logger(message);
60 61
61 typedef bool Reuser( 62 typedef bool Reuser(
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 before.getOrSet = after.getOrSet; 385 before.getOrSet = after.getOrSet;
385 } 386 }
386 387
387 /// Reset various caches and remove this element from the compiler's internal 388 /// Reset various caches and remove this element from the compiler's internal
388 /// state. 389 /// state.
389 void reuseElement() { 390 void reuseElement() {
390 compiler.forgetElement(before); 391 compiler.forgetElement(before);
391 before.reuseElement(); 392 before.reuseElement();
392 } 393 }
393 } 394 }
OLDNEW
« no previous file with comments | « pkg/dart2js_incremental/lib/diff.dart ('k') | pkg/docgen/lib/src/exports/dart2js_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698