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

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

Issue 799373007: Server responds to compilation requests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
« no previous file with comments | « no previous file | dart/pkg/dart2js_incremental/lib/server.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/src/dart2jslib.dart' show 15 import 'package:compiler/src/dart2jslib.dart' show
16 Compiler, 16 Compiler,
17 EnqueueTask, 17 EnqueueTask,
18 MessageKind,
18 Script; 19 Script;
19 20
20 import 'package:compiler/src/elements/elements.dart' show 21 import 'package:compiler/src/elements/elements.dart' show
21 ClassElement, 22 ClassElement,
22 CompilationUnitElement, 23 CompilationUnitElement,
23 Element, 24 Element,
24 FunctionElement, 25 FunctionElement,
25 LibraryElement, 26 LibraryElement,
26 STATE_NOT_STARTED, 27 STATE_NOT_STARTED,
27 ScopeContainerElement; 28 ScopeContainerElement;
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 List<String> computeFields(ClassElement cls) { 1475 List<String> computeFields(ClassElement cls) {
1475 // TODO(ahe): Rewrite for new emitter. 1476 // TODO(ahe): Rewrite for new emitter.
1476 ClassBuilder builder = new ClassBuilder(cls, namer); 1477 ClassBuilder builder = new ClassBuilder(cls, namer);
1477 classEmitter.emitFields(cls, builder); 1478 classEmitter.emitFields(cls, builder);
1478 return builder.fields; 1479 return builder.fields;
1479 } 1480 }
1480 } 1481 }
1481 1482
1482 // TODO(ahe): Remove this method. 1483 // TODO(ahe): Remove this method.
1483 NO_WARN(x) => x; 1484 NO_WARN(x) => x;
OLDNEW
« no previous file with comments | « no previous file | dart/pkg/dart2js_incremental/lib/server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698