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

Side by Side Diff: pkg/compiler/lib/src/js_backend/js_backend.dart

Issue 1383503002: Add Resolution and Parsing interfaces for computeType, ensureResolved and parseNode. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add TODOs. Created 5 years, 2 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 js_backend; 5 library js_backend;
6 6
7 import 'dart:async' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 import 'dart:collection' show HashMap; 8 import 'dart:collection' show HashMap;
9 9
10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
11 import 'package:js_runtime/shared/embedded_names.dart' show JsGetName; 11 import 'package:js_runtime/shared/embedded_names.dart' show JsGetName;
12 12
13 import '../closure.dart'; 13 import '../closure.dart';
14 import '../common/backend_api.dart' show 14 import '../common/backend_api.dart' show
15 Backend; 15 Backend;
16 import '../common/codegen.dart' show 16 import '../common/codegen.dart' show
17 CodegenRegistry, 17 CodegenRegistry,
18 CodegenWorkItem; 18 CodegenWorkItem;
19 import '../common/names.dart' show 19 import '../common/names.dart' show
20 Identifiers, 20 Identifiers,
21 Selectors, 21 Selectors,
22 Uris; 22 Uris;
23 import '../common/registry.dart' show 23 import '../common/registry.dart' show
24 Registry; 24 Registry;
25 import '../common/tasks.dart' show 25 import '../common/tasks.dart' show
26 CompilerTask; 26 CompilerTask;
27 import '../common/resolution.dart' show 27 import '../common/resolution.dart' show
28 Resolution,
28 ResolutionCallbacks; 29 ResolutionCallbacks;
29 import '../common/work.dart' show 30 import '../common/work.dart' show
30 ItemCompilationContext; 31 ItemCompilationContext;
31 import '../compiler.dart' show 32 import '../compiler.dart' show
32 Compiler; 33 Compiler;
33 import '../compile_time_constants.dart'; 34 import '../compile_time_constants.dart';
34 import '../constants/constant_system.dart'; 35 import '../constants/constant_system.dart';
35 import '../constants/expressions.dart'; 36 import '../constants/expressions.dart';
36 import '../constants/values.dart'; 37 import '../constants/values.dart';
37 import '../dart_types.dart'; 38 import '../dart_types.dart';
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 part 'constant_handler_javascript.dart'; 102 part 'constant_handler_javascript.dart';
102 part 'custom_elements_analysis.dart'; 103 part 'custom_elements_analysis.dart';
103 part 'frequency_namer.dart'; 104 part 'frequency_namer.dart';
104 part 'field_naming_mixin.dart'; 105 part 'field_naming_mixin.dart';
105 part 'minify_namer.dart'; 106 part 'minify_namer.dart';
106 part 'namer.dart'; 107 part 'namer.dart';
107 part 'namer_names.dart'; 108 part 'namer_names.dart';
108 part 'no_such_method_registry.dart'; 109 part 'no_such_method_registry.dart';
109 part 'runtime_types.dart'; 110 part 'runtime_types.dart';
110 part 'type_variable_handler.dart'; 111 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698