| 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 /** | 5 /** |
| 6 * | 6 * |
| 7 * Built-in types, collections, | 7 * Built-in types, collections, |
| 8 * and other core functionality for every Dart program. | 8 * and other core functionality for every Dart program. |
| 9 * | 9 * |
| 10 * This library is automatically imported. | 10 * This library is automatically imported. |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 part "sink.dart"; | 196 part "sink.dart"; |
| 197 part "stacktrace.dart"; | 197 part "stacktrace.dart"; |
| 198 part "stopwatch.dart"; | 198 part "stopwatch.dart"; |
| 199 part "string.dart"; | 199 part "string.dart"; |
| 200 part "string_buffer.dart"; | 200 part "string_buffer.dart"; |
| 201 part "string_sink.dart"; | 201 part "string_sink.dart"; |
| 202 part "symbol.dart"; | 202 part "symbol.dart"; |
| 203 part "type.dart"; | 203 part "type.dart"; |
| 204 part "uri.dart"; | 204 part "uri.dart"; |
| 205 | 205 |
| 206 String _symbolToString(Symbol symbol) => _symbol_dev.Symbol.getName(symbol); | 206 String _symbolToString(Symbol symbol) => _symbol_dev.Symbol.getName(symbol); |
| 207 _symbolMapToStringMap(Map<Symbol, dynamic> map) { | |
| 208 if (map == null) return null; | |
| 209 var result = new Map<String, dynamic>(); | |
| 210 map.forEach((Symbol key, value) { | |
| 211 result[_symbolToString(key)] = value; | |
| 212 }); | |
| 213 return result; | |
| 214 } | |
| 215 class SupportJsExtensionMethods { | |
| 216 const SupportJsExtensionMethods(); | |
| 217 } | |
| 218 class _ListConstructorSentinel { | |
| 219 const _ListConstructorSentinel(); | |
| 220 } | |
| OLD | NEW |