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

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

Issue 1313073007: Move parser and token related libraries into their own subfolder. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix unittests and try Created 5 years, 3 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
« no previous file with comments | « pkg/dart2js_incremental/lib/diff.dart ('k') | site/try/poi/poi.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 'package:compiler/compiler.dart' as api; 10 import 'package:compiler/compiler.dart' as api;
11 11
12 import 'package:compiler/src/compiler.dart' show 12 import 'package:compiler/src/compiler.dart' show
13 Compiler; 13 Compiler;
14 14
15 import 'package:compiler/src/diagnostics/messages.dart' show 15 import 'package:compiler/src/diagnostics/messages.dart' show
16 MessageKind; 16 MessageKind;
17 17
18 import 'package:compiler/src/elements/elements.dart' show 18 import 'package:compiler/src/elements/elements.dart' show
19 ClassElement, 19 ClassElement,
20 CompilationUnitElement, 20 CompilationUnitElement,
21 Element, 21 Element,
22 FunctionElement, 22 FunctionElement,
23 LibraryElement, 23 LibraryElement,
24 STATE_NOT_STARTED, 24 STATE_NOT_STARTED,
25 ScopeContainerElement; 25 ScopeContainerElement;
26 26
27 import 'package:compiler/src/enqueue.dart' show 27 import 'package:compiler/src/enqueue.dart' show
28 EnqueueTask; 28 EnqueueTask;
29 29
30 import 'package:compiler/src/scanner/class_element_parser.dart' show 30 import 'package:compiler/src/parser/class_element_parser.dart' show
31 PartialClassElement; 31 PartialClassElement;
32 32
33 import 'package:compiler/src/scanner/listener.dart' show 33 import 'package:compiler/src/parser/listener.dart' show
34 Listener, 34 Listener,
35 NodeListener, 35 NodeListener,
36 PartialElement, 36 PartialElement,
37 PartialFieldList, 37 PartialFieldList,
38 PartialFunctionElement; 38 PartialFunctionElement;
39 39
40 import 'package:compiler/src/scanner/parser.dart' show 40 import 'package:compiler/src/parser/parser.dart' show
41 Parser; 41 Parser;
42 42
43 import 'package:compiler/src/scanner/scanner.dart' show 43 import 'package:compiler/src/scanner/scanner.dart' show
44 Scanner; 44 Scanner;
45 45
46 import 'package:compiler/src/scanner/token.dart' show 46 import 'package:compiler/src/tokens/token.dart' show
47 EOF_TOKEN, 47 EOF_TOKEN,
48 Token; 48 Token;
49 49
50 import 'package:compiler/src/script.dart' show 50 import 'package:compiler/src/script.dart' show
51 Script; 51 Script;
52 52
53 import 'package:compiler/src/io/source_file.dart' show 53 import 'package:compiler/src/io/source_file.dart' show
54 CachingUtf8BytesSourceFile, 54 CachingUtf8BytesSourceFile,
55 SourceFile, 55 SourceFile,
56 StringSourceFile; 56 StringSourceFile;
(...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1512 .buildFieldsHackForIncrementalCompilation(classElement); 1512 .buildFieldsHackForIncrementalCompilation(classElement);
1513 // TODO(ahe): Rewrite for new emitter. 1513 // TODO(ahe): Rewrite for new emitter.
1514 ClassBuilder builder = new ClassBuilder(classElement, namer); 1514 ClassBuilder builder = new ClassBuilder(classElement, namer);
1515 classEmitter.emitFields(cls, builder); 1515 classEmitter.emitFields(cls, builder);
1516 return builder.fields; 1516 return builder.fields;
1517 } 1517 }
1518 } 1518 }
1519 1519
1520 // TODO(ahe): Remove this method. 1520 // TODO(ahe): Remove this method.
1521 NO_WARN(x) => x; 1521 NO_WARN(x) => x;
OLDNEW
« no previous file with comments | « pkg/dart2js_incremental/lib/diff.dart ('k') | site/try/poi/poi.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698