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

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

Issue 2865693002: Create closed world for hello world using .dill file (Closed)
Patch Set: Updated cf. comments. Created 3 years, 7 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/compiler/lib/src/elements/operators.dart ('k') | pkg/compiler/lib/src/helpers/trace.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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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.frontend_strategy; 5 library dart2js.frontend_strategy;
6 6
7 import 'common.dart'; 7 import 'common.dart';
8 import 'common_elements.dart'; 8 import 'common_elements.dart';
9 import 'common/backend_api.dart'; 9 import 'common/backend_api.dart';
10 import 'common/tasks.dart'; 10 import 'common/tasks.dart';
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 /// Creates the [MirrorsDataBuilder] for this strategy. 90 /// Creates the [MirrorsDataBuilder] for this strategy.
91 MirrorsDataBuilder createMirrorsDataBuilder(); 91 MirrorsDataBuilder createMirrorsDataBuilder();
92 92
93 /// Creates the [MirrorsResolutionAnalysis] for this strategy. 93 /// Creates the [MirrorsResolutionAnalysis] for this strategy.
94 // TODO(johnniwinther): Avoid passing [JavaScriptBackend]. 94 // TODO(johnniwinther): Avoid passing [JavaScriptBackend].
95 MirrorsResolutionAnalysis createMirrorsResolutionAnalysis( 95 MirrorsResolutionAnalysis createMirrorsResolutionAnalysis(
96 JavaScriptBackend backend); 96 JavaScriptBackend backend);
97 97
98 /// Creates the [RuntimeTypesNeedBuilder] for this strategy. 98 /// Creates the [RuntimeTypesNeedBuilder] for this strategy.
99 RuntimeTypesNeedBuilder createRuntimeTypesNeedBuilder(); 99 RuntimeTypesNeedBuilder createRuntimeTypesNeedBuilder();
100
101 /// Creates a [SourceSpan] from [spannable] in context of [currentElement].
102 SourceSpan spanFromSpannable(Spannable spannable, Entity currentElement);
100 } 103 }
101 104
102 /// Class that performs the mechanics to investigate annotations in the code. 105 /// Class that performs the mechanics to investigate annotations in the code.
103 abstract class AnnotationProcessor { 106 abstract class AnnotationProcessor {
104 void extractNativeAnnotations( 107 void extractNativeAnnotations(
105 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); 108 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder);
106 109
107 void extractJsInteropAnnotations( 110 void extractJsInteropAnnotations(
108 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); 111 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder);
109 112
110 void processJsInteropAnnotations( 113 void processJsInteropAnnotations(
111 NativeBasicData nativeBasicData, NativeDataBuilder nativeDataBuilder); 114 NativeBasicData nativeBasicData, NativeDataBuilder nativeDataBuilder);
112 } 115 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/operators.dart ('k') | pkg/compiler/lib/src/helpers/trace.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698