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

Side by Side Diff: tests/compiler/dart2js/mock_libraries.dart

Issue 1220333003: dart2js: Rename emitters. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 for creating mock versions of platform and internal libraries. 5 // Library for creating mock versions of platform and internal libraries.
6 6
7 library mock_libraries; 7 library mock_libraries;
8 8
9 String buildLibrarySource( 9 String buildLibrarySource(
10 Map<String, String> elementMap, 10 Map<String, String> elementMap,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 'numberOrStringSuperNativeTypeCast': 187 'numberOrStringSuperNativeTypeCast':
188 'numberOrStringSuperNativeTypeCast(value) {}', 188 'numberOrStringSuperNativeTypeCast(value) {}',
189 'numberOrStringSuperNativeTypeCheck': 189 'numberOrStringSuperNativeTypeCheck':
190 'numberOrStringSuperNativeTypeCheck(value) {}', 190 'numberOrStringSuperNativeTypeCheck(value) {}',
191 'numberOrStringSuperTypeCast': 'numberOrStringSuperTypeCast(value) {}', 191 'numberOrStringSuperTypeCast': 'numberOrStringSuperTypeCast(value) {}',
192 'numberOrStringSuperTypeCheck': 'numberOrStringSuperTypeCheck(value) {}', 192 'numberOrStringSuperTypeCheck': 'numberOrStringSuperTypeCheck(value) {}',
193 'numTypeCast': 'numTypeCast(value) {}', 193 'numTypeCast': 'numTypeCast(value) {}',
194 'numTypeCheck': 'numTypeCheck(value) {}', 194 'numTypeCheck': 'numTypeCheck(value) {}',
195 '_Patch': 'class _Patch { final tag; const _Patch(this.tag); }', 195 '_Patch': 'class _Patch { final tag; const _Patch(this.tag); }',
196 'patch': 'const patch = const _Patch(null);', 196 'patch': 'const patch = const _Patch(null);',
197 'patch_new': 'const patch_new = const _Patch("new");', 197 'patch_full': 'const patch_full = const _Patch("full");',
198 'patch_old': 'const patch_old = const _Patch("old");', 198 'patch_lazy': 'const patch_lazy = const _Patch("lazy");',
199 'propertyTypeCast': 'propertyTypeCast(x) {}', 199 'propertyTypeCast': 'propertyTypeCast(x) {}',
200 'propertyTypeCheck': 'propertyTypeCheck(value, property) {}', 200 'propertyTypeCheck': 'propertyTypeCheck(value, property) {}',
201 'requiresPreamble': 'requiresPreamble() {}', 201 'requiresPreamble': 'requiresPreamble() {}',
202 'RuntimeFunctionType': 'class RuntimeFunctionType {}', 202 'RuntimeFunctionType': 'class RuntimeFunctionType {}',
203 'RuntimeTypeGeneric': 'class RuntimeTypeGeneric {}', 203 'RuntimeTypeGeneric': 'class RuntimeTypeGeneric {}',
204 'RuntimeTypePlain': 'class RuntimeTypePlain {}', 204 'RuntimeTypePlain': 'class RuntimeTypePlain {}',
205 'runtimeTypeToString': 'runtimeTypeToString(type, {onTypeVariable(i)}) {}', 205 'runtimeTypeToString': 'runtimeTypeToString(type, {onTypeVariable(i)}) {}',
206 'S': 'S() {}', 206 'S': 'S() {}',
207 'setRuntimeTypeInfo': 'setRuntimeTypeInfo(a, b) {}', 207 'setRuntimeTypeInfo': 'setRuntimeTypeInfo(a, b) {}',
208 'stringSuperNativeTypeCast': 'stringSuperNativeTypeCast(value) {}', 208 'stringSuperNativeTypeCast': 'stringSuperNativeTypeCast(value) {}',
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 'Stream': 'class Stream<T> {}', 383 'Stream': 'class Stream<T> {}',
384 'Completer': 'class Completer<T> {}', 384 'Completer': 'class Completer<T> {}',
385 'StreamIterator': 'class StreamIterator<T> {}', 385 'StreamIterator': 'class StreamIterator<T> {}',
386 }; 386 };
387 387
388 const Map<String, String> DEFAULT_MIRRORS_LIBRARY = const <String, String>{ 388 const Map<String, String> DEFAULT_MIRRORS_LIBRARY = const <String, String>{
389 'Comment': 'class Comment {}', 389 'Comment': 'class Comment {}',
390 'MirrorSystem': 'class MirrorSystem {}', 390 'MirrorSystem': 'class MirrorSystem {}',
391 'MirrorsUsed': 'class MirrorsUsed {}', 391 'MirrorsUsed': 'class MirrorsUsed {}',
392 }; 392 };
OLDNEW
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/core_patch.dart ('k') | tests/compiler/dart2js/patch_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698