| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 /// Contains the names of globals that are embedded into the output by the | |
| 6 /// compiler. | |
| 7 /// | |
| 8 /// Variables embedded this way should be access with `JS_EMBEDDED_GLOBAL` from | |
| 9 /// the `_foreign_helper` library. | |
| 10 /// | |
| 11 /// This library is shared between the compiler and the runtime system. | |
| 12 library dart2js._embedded_names; | |
| 13 | |
| 14 const DISPATCH_PROPERTY_NAME = "dispatchPropertyName"; | |
| 15 const TYPE_INFORMATION = 'typeInformation'; | |
| 16 const GLOBAL_FUNCTIONS = 'globalFunctions'; | |
| 17 const STATICS = 'statics'; | |
| 18 | |
| 19 /** | |
| 20 * If [JSInvocationMirror._invokeOn] is being used, this embedded global | |
| 21 * contains a JavaScript map with the names of methods that are | |
| 22 * intercepted. | |
| 23 */ | |
| 24 const INTERCEPTED_NAMES = 'interceptedNames'; | |
| 25 | |
| 26 const MANGLED_GLOBAL_NAMES = 'mangledGlobalNames'; | |
| 27 const MANGLED_NAMES = 'mangledNames'; | |
| 28 const LIBRARIES = 'libraries'; | |
| 29 const FINISHED_CLASSES = 'finishedClasses'; | |
| 30 const ALL_CLASSES = 'allClasses'; | |
| 31 const METADATA = 'metadata'; | |
| 32 const INTERCEPTORS_BY_TAG = 'interceptorsByTag'; | |
| 33 const LEAF_TAGS = 'leafTags'; | |
| 34 const LAZIES = 'lazies'; | |
| 35 const GET_ISOLATE_TAG = 'getIsolateTag'; | |
| 36 const ISOLATE_TAG = 'isolateTag'; | |
| 37 const CURRENT_SCRIPT = 'currentScript'; | |
| 38 const DEFERRED_LIBRARY_URIS = 'deferredLibraryUris'; | |
| 39 const DEFERRED_LIBRARY_HASHES = 'deferredLibraryHashes'; | |
| 40 const INITIALIZE_LOADED_HUNK = 'initializeLoadedHunk'; | |
| 41 const IS_HUNK_LOADED = 'isHunkLoaded'; | |
| 42 const IS_HUNK_INITIALIZED = 'isHunkInitialized'; | |
| 43 const DEFERRED_INITIALIZED = 'deferredInitialized'; | |
| 44 const CLASS_ID_EXTRACTOR = 'classIdExtractor'; | |
| 45 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor'; | |
| 46 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId"; | |
| 47 const INITIALIZE_EMPTY_INSTANCE = "initializeEmptyInstance"; | |
| 48 const TYPEDEF_TYPE_PROPERTY_NAME = r"$typedefType"; | |
| 49 const TYPEDEF_PREDICATE_PROPERTY_NAME = r"$$isTypedef"; | |
| 50 const NATIVE_SUPERCLASS_TAG_NAME = r"$nativeSuperclassTag"; | |
| 51 | |
| 52 const MAP_TYPE_TO_INTERCEPTOR = "mapTypeToInterceptor"; | |
| OLD | NEW |