| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 containing identifier, names, and selectors commonly used through | 5 /// Library containing identifier, names, and selectors commonly used through |
| 6 /// the compiler. | 6 /// the compiler. |
| 7 library dart2js.common.names; | 7 library dart2js.common.names; |
| 8 | 8 |
| 9 import '../elements/elements.dart' show Name, PublicName; | 9 import '../elements/elements.dart' show Name, PublicName; |
| 10 import '../universe/call_structure.dart' show CallStructure; | 10 import '../universe/call_structure.dart' show CallStructure; |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 index, | 145 index, |
| 146 runtimeType_ | 146 runtimeType_ |
| 147 ]; | 147 ]; |
| 148 } | 148 } |
| 149 | 149 |
| 150 /// [Uri]s commonly used. | 150 /// [Uri]s commonly used. |
| 151 class Uris { | 151 class Uris { |
| 152 /// The URI for 'dart:async'. | 152 /// The URI for 'dart:async'. |
| 153 static final Uri dart_async = new Uri(scheme: 'dart', path: 'async'); | 153 static final Uri dart_async = new Uri(scheme: 'dart', path: 'async'); |
| 154 | 154 |
| 155 /// The URI for 'dart:collection'. |
| 156 static final Uri dart_collection = |
| 157 new Uri(scheme: 'dart', path: 'collection'); |
| 158 |
| 155 /// The URI for 'dart:core'. | 159 /// The URI for 'dart:core'. |
| 156 static final Uri dart_core = new Uri(scheme: 'dart', path: 'core'); | 160 static final Uri dart_core = new Uri(scheme: 'dart', path: 'core'); |
| 157 | 161 |
| 158 /// The URI for 'dart:html'. | 162 /// The URI for 'dart:html'. |
| 159 static final Uri dart_html = new Uri(scheme: 'dart', path: 'html'); | 163 static final Uri dart_html = new Uri(scheme: 'dart', path: 'html'); |
| 160 | 164 |
| 161 /// The URI for 'dart:mirrors'. | 165 /// The URI for 'dart:mirrors'. |
| 162 static final Uri dart_mirrors = new Uri(scheme: 'dart', path: 'mirrors'); | 166 static final Uri dart_mirrors = new Uri(scheme: 'dart', path: 'mirrors'); |
| 163 | 167 |
| 164 /// The URI for 'dart:_internal'. | 168 /// The URI for 'dart:_internal'. |
| 165 static final Uri dart__internal = new Uri(scheme: 'dart', path: '_internal'); | 169 static final Uri dart__internal = new Uri(scheme: 'dart', path: '_internal'); |
| 166 | 170 |
| 167 /// The URI for 'dart:_native_typed_data'. | 171 /// The URI for 'dart:_native_typed_data'. |
| 168 static final Uri dart__native_typed_data = | 172 static final Uri dart__native_typed_data = |
| 169 new Uri(scheme: 'dart', path: '_native_typed_data'); | 173 new Uri(scheme: 'dart', path: '_native_typed_data'); |
| 170 } | 174 } |
| OLD | NEW |