| 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 libraries; | 5 library libraries; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js | 8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js |
| 9 */ | 9 */ |
| 10 const int DART2JS_PLATFORM = 1; | 10 const int DART2JS_PLATFORM = 1; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 category: "Internal", | 196 category: "Internal", |
| 197 documented: false, | 197 documented: false, |
| 198 platforms: DART2JS_PLATFORM), | 198 platforms: DART2JS_PLATFORM), |
| 199 | 199 |
| 200 // TODO(ahe): This library is only for dart2dart, perhaps it should use a | 200 // TODO(ahe): This library is only for dart2dart, perhaps it should use a |
| 201 // different platform. | 201 // different platform. |
| 202 "_mirror_helper": const LibraryInfo( | 202 "_mirror_helper": const LibraryInfo( |
| 203 "_internal/compiler/js_lib/mirror_helper.dart", | 203 "_internal/compiler/js_lib/mirror_helper.dart", |
| 204 category: "Internal", | 204 category: "Internal", |
| 205 documented: false, | 205 documented: false, |
| 206 platforms: DART2JS_PLATFORM) | 206 platforms: DART2JS_PLATFORM), |
| 207 |
| 208 "_js_embedded_names": const LibraryInfo( |
| 209 "_internal/compiler/js_lib/shared/embedded_names.dart", |
| 210 category: "Internal", |
| 211 documented: false, |
| 212 platforms: DART2JS_PLATFORM), |
| 213 |
| 214 "_js_runtime_data": const LibraryInfo( |
| 215 "_internal/compiler/js_lib/shared/runtime_data.dart", |
| 216 category: "Internal", |
| 217 documented: false, |
| 218 platforms: DART2JS_PLATFORM), |
| 219 |
| 220 "_metadata": const LibraryInfo( |
| 221 "html/html_common/metadata.dart", |
| 222 category: "Internal", |
| 223 documented: false, |
| 224 platforms: DART2JS_PLATFORM), |
| 207 }; | 225 }; |
| 208 | 226 |
| 209 /** | 227 /** |
| 210 * Information about a "dart:" library. | 228 * Information about a "dart:" library. |
| 211 */ | 229 */ |
| 212 class LibraryInfo { | 230 class LibraryInfo { |
| 213 | 231 |
| 214 /** | 232 /** |
| 215 * Path to the library's *.dart file relative to this file. | 233 * Path to the library's *.dart file relative to this file. |
| 216 */ | 234 */ |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 static const Maturity STABLE = const Maturity(4, "Stable", | 326 static const Maturity STABLE = const Maturity(4, "Stable", |
| 309 "The library is stable. API backwards-compatibility is guaranteed.\n" | 327 "The library is stable. API backwards-compatibility is guaranteed.\n" |
| 310 "However implementation details might change."); | 328 "However implementation details might change."); |
| 311 | 329 |
| 312 static const Maturity LOCKED = const Maturity(5, "Locked", | 330 static const Maturity LOCKED = const Maturity(5, "Locked", |
| 313 "This library will not change except when serious bugs are encountered."); | 331 "This library will not change except when serious bugs are encountered."); |
| 314 | 332 |
| 315 static const Maturity UNSPECIFIED = const Maturity(-1, "Unspecified", | 333 static const Maturity UNSPECIFIED = const Maturity(-1, "Unspecified", |
| 316 "The maturity for this library has not been specified."); | 334 "The maturity for this library has not been specified."); |
| 317 } | 335 } |
| OLD | NEW |