OLD | NEW |
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 dart2js.compiler_base; | 5 library dart2js.compiler_base; |
6 | 6 |
7 import 'dart:async' show | 7 import 'dart:async' show |
8 EventSink, | 8 EventSink, |
9 Future; | 9 Future; |
10 | 10 |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 // Initialized when dart:mirrors is loaded. | 318 // Initialized when dart:mirrors is loaded. |
319 ClassElement mirrorsUsedClass; | 319 ClassElement mirrorsUsedClass; |
320 | 320 |
321 // Initialized after mirrorSystemClass has been resolved. | 321 // Initialized after mirrorSystemClass has been resolved. |
322 FunctionElement mirrorSystemGetNameFunction; | 322 FunctionElement mirrorSystemGetNameFunction; |
323 | 323 |
324 // Initialized when dart:_internal is loaded. | 324 // Initialized when dart:_internal is loaded. |
325 ClassElement symbolImplementationClass; | 325 ClassElement symbolImplementationClass; |
326 | 326 |
327 // Initialized when symbolImplementationClass has been resolved. | 327 // Initialized when symbolImplementationClass has been resolved. |
| 328 // TODO(johnniwinther): Move this to [BackendHelpers]. |
328 FunctionElement symbolValidatedConstructor; | 329 FunctionElement symbolValidatedConstructor; |
329 | 330 |
330 // Initialized when mirrorsUsedClass has been resolved. | 331 // Initialized when mirrorsUsedClass has been resolved. |
331 FunctionElement mirrorsUsedConstructor; | 332 FunctionElement mirrorsUsedConstructor; |
332 | 333 |
333 // Initialized when dart:mirrors is loaded. | 334 // Initialized when dart:mirrors is loaded. |
334 ClassElement deferredLibraryClass; | 335 ClassElement deferredLibraryClass; |
335 | 336 |
336 /// Document class from dart:mirrors. | 337 /// Document class from dart:mirrors. |
337 ClassElement documentClass; | 338 ClassElement documentClass; |
(...skipping 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2091 if (_otherDependencies == null) { | 2092 if (_otherDependencies == null) { |
2092 _otherDependencies = new Setlet<Element>(); | 2093 _otherDependencies = new Setlet<Element>(); |
2093 } | 2094 } |
2094 _otherDependencies.add(element.implementation); | 2095 _otherDependencies.add(element.implementation); |
2095 } | 2096 } |
2096 | 2097 |
2097 Iterable<Element> get otherDependencies { | 2098 Iterable<Element> get otherDependencies { |
2098 return _otherDependencies != null ? _otherDependencies : const <Element>[]; | 2099 return _otherDependencies != null ? _otherDependencies : const <Element>[]; |
2099 } | 2100 } |
2100 } | 2101 } |
OLD | NEW |