InternalPropertyList.h 1.6 KB

12345678910111213141516171819
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. // This is the list of internal properties used in the Chakra engine.
  6. // They become nameless compile time known PropertyRecords, stored as static
  7. // fields on the InternalPropertyRecords class.
  8. INTERNALPROPERTY(TypeOfPrototypeObject) // Used to store the type of the prototype object in the prototype objects slots
  9. INTERNALPROPERTY(NonExtensibleType) // Used to store shared non-extensible type in PathTypeHandler::propertySuccessors map.
  10. INTERNALPROPERTY(SealedType) // Used to store shared sealed type in PathTypeHandler::propertySuccessors map.
  11. INTERNALPROPERTY(FrozenType) // Used to store shared frozen type in PathTypeHandler::propertySuccessors map.
  12. INTERNALPROPERTY(StackTrace) // Stack trace object for Error.stack generation
  13. INTERNALPROPERTY(StackTraceCache) // Cache of Error.stack string
  14. INTERNALPROPERTY(WeakMapKeyMap) // WeakMap data stored on WeakMap key objects
  15. INTERNALPROPERTY(HiddenObject) // Used to store hidden data for JS library code (Intl as an example will use this)
  16. INTERNALPROPERTY(RevocableProxy) // Internal slot for [[RevokableProxy]] for revocable proxy in ES6
  17. INTERNALPROPERTY(MutationBp) // Used to store strong reference to the mutation breakpoint object
  18. #undef INTERNALPROPERTY