|
| MaybeLocal< Object > | NewInstance (Local< Context > context) |
| |
| void | SetHandler (const NamedPropertyHandlerConfiguration &configuration) |
| |
| void | SetHandler (const IndexedPropertyHandlerConfiguration &configuration) |
| |
| void | SetCallAsFunctionHandler (FunctionCallback callback, Local< Value > data=Local< Value >()) |
| |
| void | MarkAsUndetectable () |
| |
| void | SetAccessCheckCallback (AccessCheckCallback callback, Local< Value > data=Local< Value >()) |
| |
| void | SetAccessCheckCallbackAndHandler (AccessCheckCallback callback, const NamedPropertyHandlerConfiguration &named_handler, const IndexedPropertyHandlerConfiguration &indexed_handler, Local< Value > data=Local< Value >()) |
| |
| int | InternalFieldCount () const |
| |
| void | SetInternalFieldCount (int value) |
| |
| bool | IsImmutableProto () const |
| |
| void | SetImmutableProto () |
| |
| void | SetCodeLike () |
| |
| bool | IsCodeLike () const |
| |
| void | SealAndPrepareForPromotionToReadOnly () |
| |
| void | Set (Local< Name > name, Local< Data > value, PropertyAttribute attributes=None) |
| |
| void | SetPrivate (Local< Private > name, Local< Data > value, PropertyAttribute attributes=None) |
| |
| void | Set (Isolate *isolate, const char *name, Local< Data > value, PropertyAttribute attributes=None) |
| |
| void | SetAccessorProperty (Local< Name > name, Local< FunctionTemplate > getter=Local< FunctionTemplate >(), Local< FunctionTemplate > setter=Local< FunctionTemplate >(), PropertyAttribute attribute=None) |
| |
| void | SetNativeDataProperty (Local< Name > name, AccessorNameGetterCallback getter, AccessorNameSetterCallbackV2 setter, Local< Value > data=Local< Value >(), PropertyAttribute attribute=None, SideEffectType getter_side_effect_type=SideEffectType::kHasSideEffect, SideEffectType setter_side_effect_type=SideEffectType::kHasSideEffect) |
| |
| void | SetNativeDataProperty (Local< Name > name, AccessorNameGetterCallback getter, AccessorNameSetterCallback setter, Local< Value > data=Local< Value >(), PropertyAttribute attribute=None, SideEffectType getter_side_effect_type=SideEffectType::kHasSideEffect, SideEffectType setter_side_effect_type=SideEffectType::kHasSideEffect) |
| |
| void | SetNativeDataProperty (Local< Name > name, AccessorNameGetterCallback getter, nullptr_t setter=nullptr, Local< Value > data=Local< Value >(), PropertyAttribute attribute=None, SideEffectType getter_side_effect_type=SideEffectType::kHasSideEffect, SideEffectType setter_side_effect_type=SideEffectType::kHasSideEffect) |
| |
| void | SetLazyDataProperty (Local< Name > name, AccessorNameGetterCallback getter, Local< Value > data=Local< Value >(), PropertyAttribute attribute=None, SideEffectType getter_side_effect_type=SideEffectType::kHasSideEffect, SideEffectType setter_side_effect_type=SideEffectType::kHasSideEffect) |
| |
| void | SetIntrinsicDataProperty (Local< Name > name, Intrinsic intrinsic, PropertyAttribute attribute=None) |
| |
| bool | IsValue () const |
| |
| bool | IsModule () const |
| |
| bool | IsModuleRequest () const |
| |
| bool | IsFixedArray () const |
| |
| bool | IsPrivate () const |
| |
| bool | IsObjectTemplate () const |
| |
| bool | IsFunctionTemplate () const |
| |
| bool | IsDictionaryTemplate () const |
| |
| bool | IsContext () const |
| |
| bool | IsCppHeapExternal () const |
| |
An ObjectTemplate is used to create objects at runtime.
Properties added to an ObjectTemplate are added to each object created from the ObjectTemplate.
- Examples
- process.cc.