Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: test/generated_sdk/lib/core/core.dart

Issue 955513008: cleans up sdk patching so we no longer have unresolved names (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 part "sink.dart"; 185 part "sink.dart";
186 part "stacktrace.dart"; 186 part "stacktrace.dart";
187 part "stopwatch.dart"; 187 part "stopwatch.dart";
188 part "string.dart"; 188 part "string.dart";
189 part "string_buffer.dart"; 189 part "string_buffer.dart";
190 part "string_sink.dart"; 190 part "string_sink.dart";
191 part "symbol.dart"; 191 part "symbol.dart";
192 part "type.dart"; 192 part "type.dart";
193 part "uri.dart"; 193 part "uri.dart";
194 import "dart:_internal" as _symbol_dev; 194 import "dart:_internal" as _symbol_dev;
195 import 'dart:_interceptors';
196 import 'dart:_js_helper' show patch,
197 checkInt,
198 getRuntimeType,
199 jsonEncodeNative,
200 JSSyntaxRegExp,
201 Primitives,
202 stringJoinUnchecked,
203 objectHashCode;
195 204
196 String _symbolToString(Symbol symbol) => _symbol_dev.Symbol.getName(symbol); 205 String _symbolToString(Symbol symbol) => _symbol_dev.Symbol.getName(symbol);
197 _symbolMapToStringMap(Map<Symbol, dynamic> map) { 206 _symbolMapToStringMap(Map<Symbol, dynamic> map) {
198 if (map == null) return null; 207 if (map == null) return null;
199 var result = new Map<String, dynamic>(); 208 var result = new Map<String, dynamic>();
200 map.forEach((Symbol key, value) { 209 map.forEach((Symbol key, value) {
201 result[_symbolToString(key)] = value; 210 result[_symbolToString(key)] = value;
202 }); 211 });
203 return result; 212 return result;
204 } 213 }
205 class _ListConstructorSentinel extends JSInt { 214 class _ListConstructorSentinel extends JSInt {
206 const _ListConstructorSentinel(); 215 const _ListConstructorSentinel();
207 } 216 }
OLDNEW
« no previous file with comments | « test/generated_sdk/lib/convert/convert.dart ('k') | test/generated_sdk/lib/internal/internal.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698