| 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 * Mapping of "dart:" library name (e.g. "core") to information about that libra
ry. | 8 * Mapping of "dart:" library name (e.g. "core") to information about that libra
ry. |
| 9 * This information is structured such that Dart Editor can parse this file | 9 * This information is structured such that Dart Editor can parse this file |
| 10 * and extract the necessary information without executing it | 10 * and extract the necessary information without executing it |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 "isolate": const LibraryInfo( | 53 "isolate": const LibraryInfo( |
| 54 "isolate/isolate.dart"), | 54 "isolate/isolate.dart"), |
| 55 | 55 |
| 56 "json": const LibraryInfo( | 56 "json": const LibraryInfo( |
| 57 "json/json.dart"), | 57 "json/json.dart"), |
| 58 | 58 |
| 59 "math": const LibraryInfo( | 59 "math": const LibraryInfo( |
| 60 "math/math.dart", | 60 "math/math.dart", |
| 61 dart2jsPatchPath: "compiler/implementation/lib/math.dartp"), | 61 dart2jsPatchPath: "compiler/implementation/lib/math.dartp"), |
| 62 | 62 |
| 63 "mirrors": const LibraryInfo( |
| 64 "mirrors/mirrors.dart"), |
| 65 |
| 63 // Used by Dartium applications | 66 // Used by Dartium applications |
| 64 "nativewrappers": const LibraryInfo( | 67 "nativewrappers": const LibraryInfo( |
| 65 "html/nativewrappers.dart", | 68 "html/nativewrappers.dart", |
| 66 category: "Client", | 69 category: "Client", |
| 67 implementation: true), | 70 implementation: true), |
| 68 | 71 |
| 69 "unittest": const LibraryInfo( | 72 "unittest": const LibraryInfo( |
| 70 "unittest/unittest.dart", | 73 "unittest/unittest.dart", |
| 71 category: "Tools"), | 74 category: "Tools"), |
| 72 | 75 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 * and that tools like Dart Editor should not show these libraries | 134 * and that tools like Dart Editor should not show these libraries |
| 132 * in a list of all libraries unless the user specifically asks the tool to do
so. | 135 * in a list of all libraries unless the user specifically asks the tool to do
so. |
| 133 * (e.g. "coreimpl" contains implementation for the "core" library). | 136 * (e.g. "coreimpl" contains implementation for the "core" library). |
| 134 */ | 137 */ |
| 135 final bool implementation; | 138 final bool implementation; |
| 136 | 139 |
| 137 const LibraryInfo(this.path, [this.category = "Shared", | 140 const LibraryInfo(this.path, [this.category = "Shared", |
| 138 this.dart2jsPath, this.dart2jsPatchPath, | 141 this.dart2jsPath, this.dart2jsPatchPath, |
| 139 this.implementation = false, this.internal = false]); | 142 this.implementation = false, this.internal = false]); |
| 140 } | 143 } |
| OLD | NEW |