5 #ifndef INCLUDE_V8_TEMPLATE_H_
6 #define INCLUDE_V8_TEMPLATE_H_
25 #define V8_INTRINSICS_LIST(F)
26 F(ArrayProto_entries, array_entries_iterator)
27 F(ArrayProto_forEach, array_for_each_iterator)
28 F(ArrayProto_keys, array_keys_iterator)
29 F(ArrayProto_values, array_values_iterator)
30 F(ArrayPrototype, initial_array_prototype)
31 F(AsyncIteratorPrototype, initial_async_iterator_prototype)
32 F(ErrorPrototype, initial_error_prototype)
33 F(IteratorPrototype, initial_iterator_prototype)
34 F(ObjProto_valueOf, object_value_of_function)
37 #define V8_DECL_INTRINSIC(name, iname) k##name,
39 #undef V8_DECL_INTRINSIC
94 AccessorSetterCallback setter =
nullptr,
101 Local<
Name> name, AccessorNameGetterCallback getter,
102 AccessorNameSetterCallback setter =
nullptr,
114 Local<
Name> name, AccessorNameGetterCallback getter,
172 using GenericNamedPropertyGetterCallback =
196 using GenericNamedPropertySetterCallback =
221 using GenericNamedPropertyQueryCallback =
245 using GenericNamedPropertyDeleterCallback =
254 using GenericNamedPropertyEnumeratorCallback =
277 using GenericNamedPropertyDefinerCallback =
300 using GenericNamedPropertyDescriptorCallback =
306 using IndexedPropertyGetterCallback =
312 using IndexedPropertySetterCallback =
319 using IndexedPropertyQueryCallback =
325 using IndexedPropertyDeleterCallback =
334 using IndexedPropertyEnumeratorCallback =
340 using IndexedPropertyDefinerCallback =
347 using IndexedPropertyDescriptorCallback =
471 Isolate* isolate, FunctionCallback callback =
nullptr,
476 const CFunction* c_function =
nullptr, uint16_t instance_type = 0,
477 uint16_t allowed_receiver_instance_type_range_start = 0,
478 uint16_t allowed_receiver_instance_type_range_end = 0);
482 Isolate* isolate, FunctionCallback callback =
nullptr,
493 Isolate* isolate, FunctionCallback callback,
594 static void CheckCast(
Data* that);
634 GenericNamedPropertyGetterCallback getter,
635 GenericNamedPropertySetterCallback setter,
636 GenericNamedPropertyQueryCallback query,
637 GenericNamedPropertyDeleterCallback deleter,
638 GenericNamedPropertyEnumeratorCallback enumerator,
639 GenericNamedPropertyDefinerCallback definer,
640 GenericNamedPropertyDescriptorCallback descriptor,
655 GenericNamedPropertyGetterCallback getter =
nullptr,
656 GenericNamedPropertySetterCallback setter =
nullptr,
657 GenericNamedPropertyQueryCallback query =
nullptr,
658 GenericNamedPropertyDeleterCallback deleter =
nullptr,
659 GenericNamedPropertyEnumeratorCallback enumerator =
nullptr,
673 GenericNamedPropertyGetterCallback getter,
674 GenericNamedPropertySetterCallback setter,
675 GenericNamedPropertyDescriptorCallback descriptor,
676 GenericNamedPropertyDeleterCallback deleter,
677 GenericNamedPropertyEnumeratorCallback enumerator,
678 GenericNamedPropertyDefinerCallback definer,
691 GenericNamedPropertyGetterCallback
getter;
692 GenericNamedPropertySetterCallback
setter;
693 GenericNamedPropertyQueryCallback
query;
704 IndexedPropertyGetterCallback getter,
705 IndexedPropertySetterCallback setter, IndexedPropertyQueryCallback query,
706 IndexedPropertyDeleterCallback deleter,
707 IndexedPropertyEnumeratorCallback enumerator,
708 IndexedPropertyDefinerCallback definer,
709 IndexedPropertyDescriptorCallback descriptor,
724 IndexedPropertyGetterCallback getter =
nullptr,
725 IndexedPropertySetterCallback setter =
nullptr,
726 IndexedPropertyQueryCallback query =
nullptr,
727 IndexedPropertyDeleterCallback deleter =
nullptr,
728 IndexedPropertyEnumeratorCallback enumerator =
nullptr,
742 IndexedPropertyGetterCallback getter,
743 IndexedPropertySetterCallback setter,
744 IndexedPropertyDescriptorCallback descriptor,
745 IndexedPropertyDeleterCallback deleter,
746 IndexedPropertyEnumeratorCallback enumerator,
747 IndexedPropertyDefinerCallback definer,
818 AccessorSetterCallback setter =
nullptr,
825 Local<
Name> name, AccessorNameGetterCallback getter,
826 AccessorNameSetterCallback setter =
nullptr,
864 IndexedPropertyGetterCallback getter,
865 IndexedPropertySetterCallback setter =
nullptr,
866 IndexedPropertyQueryCallback query =
nullptr,
867 IndexedPropertyDeleterCallback deleter =
nullptr,
868 IndexedPropertyEnumeratorCallback enumerator =
nullptr,
871 deleter
, enumerator
, data
));
923 AccessCheckCallback callback,
969 static void CheckCast(
Data* that);
992 static void CheckCast(
Data* that);
1008 AccessorSignature();
1010 static void CheckCast(
Data* that);
1023 #ifdef V8_ENABLE_CHECKS
1030 #ifdef V8_ENABLE_CHECKS
1037 #ifdef V8_ENABLE_CHECKS
1040 return reinterpret_cast<
Signature*>(data);
1044 #ifdef V8_ENABLE_CHECKS