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

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

Issue 830703004: Emit to StreamCodeOutput instead of CodeBuffer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 5 years, 11 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 | Annotate | Revision Log
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
(...skipping 20 matching lines...) Expand all
31 Listener, 31 Listener,
32 NodeListener, 32 NodeListener,
33 Parser, 33 Parser,
34 PartialClassElement, 34 PartialClassElement,
35 PartialElement, 35 PartialElement,
36 PartialFieldList, 36 PartialFieldList,
37 PartialFunctionElement, 37 PartialFunctionElement,
38 Scanner, 38 Scanner,
39 Token; 39 Token;
40 40
41 import 'package:compiler/src/source_file.dart' show 41 import 'package:compiler/src/io/source_file.dart' show
42 CachingUtf8BytesSourceFile, 42 CachingUtf8BytesSourceFile,
43 SourceFile, 43 SourceFile,
44 StringSourceFile; 44 StringSourceFile;
45 45
46 import 'package:compiler/src/tree/tree.dart' show 46 import 'package:compiler/src/tree/tree.dart' show
47 ClassNode, 47 ClassNode,
48 FunctionExpression, 48 FunctionExpression,
49 LibraryTag, 49 LibraryTag,
50 NodeList, 50 NodeList,
51 Part, 51 Part,
(...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 List<String> computeFields(ClassElement cls) { 1474 List<String> computeFields(ClassElement cls) {
1475 // TODO(ahe): Rewrite for new emitter. 1475 // TODO(ahe): Rewrite for new emitter.
1476 ClassBuilder builder = new ClassBuilder(cls, namer); 1476 ClassBuilder builder = new ClassBuilder(cls, namer);
1477 classEmitter.emitFields(cls, builder); 1477 classEmitter.emitFields(cls, builder);
1478 return builder.fields; 1478 return builder.fields;
1479 } 1479 }
1480 } 1480 }
1481 1481
1482 // TODO(ahe): Remove this method. 1482 // TODO(ahe): Remove this method.
1483 NO_WARN(x) => x; 1483 NO_WARN(x) => x;
OLDNEW
« no previous file with comments | « pkg/dart2js_incremental/lib/caching_compiler.dart ('k') | sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698