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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/js_emitter/js_emitter.dart

Issue 1259553002: Emit program and dependency information as relations in a Prolog database. Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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.js_emitter; 5 library dart2js.js_emitter;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 8
9 import '../js/js.dart' as jsAst; 9 import '../js/js.dart' as jsAst;
10 10
11 import '../closure.dart' show 11 import '../closure.dart' show
12 ClosureClassElement, 12 ClosureClassElement,
13 ClosureClassMap, 13 ClosureClassMap,
14 ClosureFieldElement; 14 ClosureFieldElement;
15 15
16 import '../dart2jslib.dart' show 16 import '../dart2jslib.dart' show CodeBuffer, Relations;
17 CodeBuffer;
18 17
19 import '../elements/elements.dart' show 18 import '../elements/elements.dart' show
20 TypeVariableElement, 19 TypeVariableElement,
21 ConstructorBodyElement; 20 ConstructorBodyElement;
22 21
23 import '../js/js.dart' show 22 import '../js/js.dart' show
24 js, templateManager; 23 js, templateManager;
25 24
26 import '../js_backend/js_backend.dart' show 25 import '../js_backend/js_backend.dart' show
27 CheckedModeHelper, 26 CheckedModeHelper,
28 ConstantEmitter, 27 ConstantEmitter,
29 CustomElementsAnalysis, 28 CustomElementsAnalysis,
30 JavaScriptBackend, 29 JavaScriptBackend,
31 JavaScriptConstantCompiler, 30 JavaScriptConstantCompiler,
32 Namer, 31 Namer,
33 NativeEmitter, 32 NativeEmitter,
34 RuntimeTypes, 33 RuntimeTypes,
35 Substitution, 34 Substitution,
36 TypeCheck, 35 TypeCheck,
37 TypeChecks, 36 TypeChecks,
38 TypeVariableHandler; 37 TypeVariableHandler;
39 38
39 import '../prolog/prolog.dart' as prolog;
40
40 import '../source_file.dart' show 41 import '../source_file.dart' show
41 SourceFile, 42 SourceFile,
42 StringSourceFile; 43 StringSourceFile;
43 44
44 import '../source_map_builder.dart' show 45 import '../source_map_builder.dart' show
45 SourceMapBuilder; 46 SourceMapBuilder;
46 47
47 import '../util/characters.dart' show 48 import '../util/characters.dart' show
48 $$, 49 $$,
49 $A, 50 $A,
50 $HASH, 51 $HASH,
51 $PERIOD, 52 $PERIOD,
52 $Z, 53 $Z,
53 $a, 54 $a,
54 $z; 55 $z;
55 56
56 import '../util/uri_extras.dart' show 57 import '../util/uri_extras.dart' show
57 relativize; 58 relativize;
58 59
59 import '../deferred_load.dart' show 60 import '../deferred_load.dart' show
60 OutputUnit; 61 OutputUnit;
62 import 'dart:async';
61 63
62 part 'class_builder.dart'; 64 part 'class_builder.dart';
63 part 'class_emitter.dart'; 65 part 'class_emitter.dart';
64 part 'code_emitter_helper.dart'; 66 part 'code_emitter_helper.dart';
65 part 'code_emitter_task.dart'; 67 part 'code_emitter_task.dart';
66 part 'container_builder.dart'; 68 part 'container_builder.dart';
67 part 'declarations.dart'; 69 part 'declarations.dart';
68 part 'helpers.dart'; 70 part 'helpers.dart';
69 part 'interceptor_emitter.dart'; 71 part 'interceptor_emitter.dart';
70 part 'metadata_emitter.dart'; 72 part 'metadata_emitter.dart';
71 part 'nsm_emitter.dart'; 73 part 'nsm_emitter.dart';
72 part 'reflection_data_parser.dart'; 74 part 'reflection_data_parser.dart';
73 part 'type_test_emitter.dart'; 75 part 'type_test_emitter.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698