#include <v8-template.h>
A template to create dictionary objects at runtime.
Definition at line 1066 of file v8-template.h.
◆ DictionaryTemplate()
v8::DictionaryTemplate::DictionaryTemplate |
( |
| ) |
|
|
private |
◆ Cast()
◆ CheckCast()
void v8::DictionaryTemplate::CheckCast |
( |
Data * | that | ) |
|
|
staticprivate |
◆ New()
Creates a new template. Also declares data properties that can be passed on instantiation of the template. Properties can only be declared on construction and are then immutable. The values are passed on creating the object via NewInstance()
.
- Parameters
-
names | the keys that can be passed on instantiation. |
Definition at line 1710 of file api.cc.
◆ NewInstance()
Creates a new instance of this template.
- Parameters
-
context | The context used to create the dictionary object. |
property_values | Values of properties that were declared using DeclareDataProperties() . The span only passes values and expectes the order to match the declaration. Non-existent properties are signaled via empty MaybeLocal s. |
Definition at line 1718 of file api.cc.
The documentation for this class was generated from the following files: