| 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 part of dart2js; | 5 part of dart2js; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * If true, print a warning for each method that was resolved, but not | 8 * If true, print a warning for each method that was resolved, but not |
| 9 * compiled. | 9 * compiled. |
| 10 */ | 10 */ |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 FunctionElement mirrorsUsedConstructor; | 482 FunctionElement mirrorsUsedConstructor; |
| 483 | 483 |
| 484 // Initialized when dart:mirrors is loaded. | 484 // Initialized when dart:mirrors is loaded. |
| 485 ClassElement deferredLibraryClass; | 485 ClassElement deferredLibraryClass; |
| 486 | 486 |
| 487 ClassElement jsInvocationMirrorClass; | 487 ClassElement jsInvocationMirrorClass; |
| 488 /// Document class from dart:mirrors. | 488 /// Document class from dart:mirrors. |
| 489 ClassElement documentClass; | 489 ClassElement documentClass; |
| 490 Element assertMethod; | 490 Element assertMethod; |
| 491 Element identicalFunction; | 491 Element identicalFunction; |
| 492 Element loadLibraryFunction; |
| 492 Element functionApplyMethod; | 493 Element functionApplyMethod; |
| 493 Element invokeOnMethod; | 494 Element invokeOnMethod; |
| 494 Element intEnvironment; | 495 Element intEnvironment; |
| 495 Element boolEnvironment; | 496 Element boolEnvironment; |
| 496 Element stringEnvironment; | 497 Element stringEnvironment; |
| 497 | 498 |
| 498 fromEnvironment(String name) => null; | 499 fromEnvironment(String name) => null; |
| 499 | 500 |
| 500 Element get currentElement => _currentElement; | 501 Element get currentElement => _currentElement; |
| 501 | 502 |
| (...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1830 static NullSink outputProvider(String name, String extension) { | 1831 static NullSink outputProvider(String name, String extension) { |
| 1831 return new NullSink('$name.$extension'); | 1832 return new NullSink('$name.$extension'); |
| 1832 } | 1833 } |
| 1833 } | 1834 } |
| 1834 | 1835 |
| 1835 /// Information about suppressed warnings and hints for a given library. | 1836 /// Information about suppressed warnings and hints for a given library. |
| 1836 class SuppressionInfo { | 1837 class SuppressionInfo { |
| 1837 int warnings = 0; | 1838 int warnings = 0; |
| 1838 int hints = 0; | 1839 int hints = 0; |
| 1839 } | 1840 } |
| OLD | NEW |