Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Enumerations
v8-template.h File Reference
#include <cstddef>
#include <string_view>
#include "v8-data.h"
#include "v8-function-callback.h"
#include "v8-local-handle.h"
#include "v8-memory-span.h"
#include "v8-object.h"
#include "v8config.h"
Include dependency graph for v8-template.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::Template
 
class  v8::FunctionTemplate
 
struct  v8::NamedPropertyHandlerConfiguration
 
struct  v8::IndexedPropertyHandlerConfiguration
 
class  v8::ObjectTemplate
 
class  v8::DictionaryTemplate
 
class  v8::Signature
 

Namespaces

namespace  v8
 

Macros

#define V8_INTRINSICS_LIST(F)
 
#define V8_DECL_INTRINSIC(name, iname)   k##name,
 

Typedefs

using v8::NamedPropertyGetterCallback = Intercepted(*)(Local< Name > property, const PropertyCallbackInfo< Value > &info)
 
using v8::GenericNamedPropertyGetterCallback = void(*)(Local< Name > property, const PropertyCallbackInfo< Value > &info)
 
using v8::NamedPropertySetterCallback = Intercepted(*)(Local< Name > property, Local< Value > value, const PropertyCallbackInfo< void > &info)
 
using v8::GenericNamedPropertySetterCallback = void(*)(Local< Name > property, Local< Value > value, const PropertyCallbackInfo< Value > &info)
 
using v8::NamedPropertyQueryCallback = Intercepted(*)(Local< Name > property, const PropertyCallbackInfo< Integer > &info)
 
using v8::GenericNamedPropertyQueryCallback = void(*)(Local< Name > property, const PropertyCallbackInfo< Integer > &info)
 
using v8::NamedPropertyDeleterCallback = Intercepted(*)(Local< Name > property, const PropertyCallbackInfo< Boolean > &info)
 
using v8::GenericNamedPropertyDeleterCallback = void(*)(Local< Name > property, const PropertyCallbackInfo< Boolean > &info)
 
using v8::NamedPropertyEnumeratorCallback = void(*)(const PropertyCallbackInfo< Array > &info)
 
using v8::GenericNamedPropertyEnumeratorCallback = NamedPropertyEnumeratorCallback
 
using v8::NamedPropertyDefinerCallback = Intercepted(*)(Local< Name > property, const PropertyDescriptor &desc, const PropertyCallbackInfo< void > &info)
 
using v8::GenericNamedPropertyDefinerCallback = void(*)(Local< Name > property, const PropertyDescriptor &desc, const PropertyCallbackInfo< Value > &info)
 
using v8::NamedPropertyDescriptorCallback = Intercepted(*)(Local< Name > property, const PropertyCallbackInfo< Value > &info)
 
using v8::GenericNamedPropertyDescriptorCallback = void(*)(Local< Name > property, const PropertyCallbackInfo< Value > &info)
 
using v8::IndexedPropertyGetterCallbackV2 = Intercepted(*)(uint32_t index, const PropertyCallbackInfo< Value > &info)
 
using v8::IndexedPropertyGetterCallback = void(*)(uint32_t index, const PropertyCallbackInfo< Value > &info)
 
using v8::IndexedPropertySetterCallbackV2 = Intercepted(*)(uint32_t index, Local< Value > value, const PropertyCallbackInfo< void > &info)
 
using v8::IndexedPropertySetterCallback = void(*)(uint32_t index, Local< Value > value, const PropertyCallbackInfo< Value > &info)
 
using v8::IndexedPropertyQueryCallbackV2 = Intercepted(*)(uint32_t index, const PropertyCallbackInfo< Integer > &info)
 
using v8::IndexedPropertyQueryCallback = void(*)(uint32_t index, const PropertyCallbackInfo< Integer > &info)
 
using v8::IndexedPropertyDeleterCallbackV2 = Intercepted(*)(uint32_t index, const PropertyCallbackInfo< Boolean > &info)
 
using v8::IndexedPropertyDeleterCallback = void(*)(uint32_t index, const PropertyCallbackInfo< Boolean > &info)
 
using v8::IndexedPropertyEnumeratorCallback = void(*)(const PropertyCallbackInfo< Array > &info)
 
using v8::IndexedPropertyDefinerCallbackV2 = Intercepted(*)(uint32_t index, const PropertyDescriptor &desc, const PropertyCallbackInfo< void > &info)
 
using v8::IndexedPropertyDefinerCallback = void(*)(uint32_t index, const PropertyDescriptor &desc, const PropertyCallbackInfo< Value > &info)
 
using v8::IndexedPropertyDescriptorCallbackV2 = Intercepted(*)(uint32_t index, const PropertyCallbackInfo< Value > &info)
 
using v8::IndexedPropertyDescriptorCallback = void(*)(uint32_t index, const PropertyCallbackInfo< Value > &info)
 
using v8::AccessCheckCallback = bool(*)(Local< Context > accessing_context, Local< Object > accessed_object, Local< Value > data)
 

Enumerations

enum  v8::Intrinsic {
  v8::kArrayProto_entries , v8::kArrayProto_forEach , v8::kArrayProto_keys , v8::kArrayProto_values ,
  v8::kArrayPrototype , v8::kAsyncIteratorPrototype , v8::kErrorPrototype , v8::kIteratorPrototype ,
  v8::kMapIteratorPrototype , v8::kObjProto_valueOf , v8::kSetIteratorPrototype
}
 
enum class  v8::Intercepted : uint8_t { v8::kNo = 0 , v8::kYes = 1 }
 
enum class  v8::ConstructorBehavior { v8::kThrow , v8::kAllow }
 
enum class  v8::PropertyHandlerFlags {
  v8::kNone = 0 , v8::kNonMasking = 1 , v8::kOnlyInterceptStrings = 1 << 1 , v8::kHasNoSideEffect = 1 << 2 ,
  v8::kInternalNewCallbacksSignatures = 1 << 10
}
 

Macro Definition Documentation

◆ V8_DECL_INTRINSIC

#define V8_DECL_INTRINSIC (   name,
  iname 
)    k##name,

◆ V8_INTRINSICS_LIST

#define V8_INTRINSICS_LIST (   F)
Value:
F(ArrayProto_entries, array_entries_iterator) \
F(ArrayProto_forEach, array_for_each_iterator) \
F(ArrayProto_keys, array_keys_iterator) \
F(ArrayProto_values, array_values_iterator) \
F(ArrayPrototype, initial_array_prototype) \
F(AsyncIteratorPrototype, initial_async_iterator_prototype) \
F(ErrorPrototype, initial_error_prototype) \
F(IteratorPrototype, initial_iterator_prototype) \
F(MapIteratorPrototype, initial_map_iterator_prototype) \
F(ObjProto_valueOf, object_value_of_function) \
F(SetIteratorPrototype, initial_set_iterator_prototype)