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

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

Issue 2223133003: pkg/compiler: clean up imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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
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 import '../compiler.dart' show Compiler; 5 import '../compiler.dart' show Compiler;
6 import '../constants/values.dart'; 6 import '../constants/values.dart';
7 import '../dart_types.dart'; 7 import '../dart_types.dart';
8 import '../elements/elements.dart'; 8 import '../elements/elements.dart';
9 import '../enqueue.dart' show Enqueuer, ResolutionEnqueuer; 9 import '../enqueue.dart' show Enqueuer;
10 import '../universe/use.dart' 10 import '../universe/use.dart' show StaticUse;
11 show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind;
12 import 'backend.dart'; 11 import 'backend.dart';
13 12
14 /** 13 /**
15 * Support for Custom Elements. 14 * Support for Custom Elements.
16 * 15 *
17 * The support for custom elements the compiler builds a table that maps the 16 * The support for custom elements the compiler builds a table that maps the
18 * custom element class's [Type] to the interceptor for the class and the 17 * custom element class's [Type] to the interceptor for the class and the
19 * constructor(s) for the class. 18 * constructor(s) for the class.
20 * 19 *
21 * We want the table to contain only the custom element classes used, and we 20 * We want the table to contain only the custom element classes used, and we
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 if (parameters.requiredParameterCount == 0) { 202 if (parameters.requiredParameterCount == 0) {
204 result.add(member); 203 result.add(member);
205 } 204 }
206 } 205 }
207 } 206 }
208 classElement.forEachMember(selectGenerativeConstructors, 207 classElement.forEachMember(selectGenerativeConstructors,
209 includeBackendMembers: false, includeSuperAndInjectedMembers: false); 208 includeBackendMembers: false, includeSuperAndInjectedMembers: false);
210 return result; 209 return result;
211 } 210 }
212 } 211 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart ('k') | pkg/compiler/lib/src/js_backend/namer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698