| OLD | NEW |
| 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, ResolutionEnqueuer; |
| 10 import '../universe/use.dart' | 10 import '../universe/use.dart' |
| 11 show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind; | 11 show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind; |
| 12 | |
| 13 import 'backend.dart'; | 12 import 'backend.dart'; |
| 14 | 13 |
| 15 /** | 14 /** |
| 16 * Support for Custom Elements. | 15 * Support for Custom Elements. |
| 17 * | 16 * |
| 18 * The support for custom elements the compiler builds a table that maps the | 17 * The support for custom elements the compiler builds a table that maps the |
| 19 * custom element class's [Type] to the interceptor for the class and the | 18 * custom element class's [Type] to the interceptor for the class and the |
| 20 * constructor(s) for the class. | 19 * constructor(s) for the class. |
| 21 * | 20 * |
| 22 * We want the table to contain only the custom element classes used, and we | 21 * 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 Loading... |
| 204 if (parameters.requiredParameterCount == 0) { | 203 if (parameters.requiredParameterCount == 0) { |
| 205 result.add(member); | 204 result.add(member); |
| 206 } | 205 } |
| 207 } | 206 } |
| 208 } | 207 } |
| 209 classElement.forEachMember(selectGenerativeConstructors, | 208 classElement.forEachMember(selectGenerativeConstructors, |
| 210 includeBackendMembers: false, includeSuperAndInjectedMembers: false); | 209 includeBackendMembers: false, includeSuperAndInjectedMembers: false); |
| 211 return result; | 210 return result; |
| 212 } | 211 } |
| 213 } | 212 } |
| OLD | NEW |