/third_party/node/deps/v8/src/objects/ |
D | synthetic-module.h | 22 class SyntheticModule 23 : public TorqueGeneratedSyntheticModule<SyntheticModule, Module> { 26 DECL_VERIFIER(SyntheticModule) 32 static Maybe<bool> SetExport(Isolate* isolate, Handle<SyntheticModule> module, 40 static void SetExportStrict(Isolate* isolate, Handle<SyntheticModule> module, 52 Isolate* isolate, Handle<SyntheticModule> module, 57 Isolate* isolate, Handle<SyntheticModule> module, 60 Isolate* isolate, Handle<SyntheticModule> module); 63 Isolate* isolate, Handle<SyntheticModule> module); 65 TQ_OBJECT_CONSTRUCTORS(SyntheticModule)
|
D | synthetic-module.cc | 21 Maybe<bool> SyntheticModule::SetExport(Isolate* isolate, in SetExport() 22 Handle<SyntheticModule> module, in SetExport() 40 void SyntheticModule::SetExportStrict(Isolate* isolate, in SetExportStrict() 41 Handle<SyntheticModule> module, in SetExportStrict() 54 MaybeHandle<Cell> SyntheticModule::ResolveExport( in ResolveExport() 55 Isolate* isolate, Handle<SyntheticModule> module, in ResolveExport() 71 bool SyntheticModule::PrepareInstantiate(Isolate* isolate, in PrepareInstantiate() 72 Handle<SyntheticModule> module, in PrepareInstantiate() 93 bool SyntheticModule::FinishInstantiate(Isolate* isolate, in FinishInstantiate() 94 Handle<SyntheticModule> module) { in FinishInstantiate() [all …]
|
D | module.cc | 34 SyntheticModule::cast(module).name().Print(os); in PrintModuleName() 142 : SyntheticModule::cast(*module).export_names().length(); in Reset() 173 return SyntheticModule::ResolveExport( in ResolveExport() 174 isolate, Handle<SyntheticModule>::cast(module), module_specifier, in ResolveExport() 222 return SyntheticModule::PrepareInstantiate( in PrepareInstantiate() 223 isolate, Handle<SyntheticModule>::cast(module), context); in PrepareInstantiate() 240 return SyntheticModule::FinishInstantiate( in FinishInstantiate() 241 isolate, Handle<SyntheticModule>::cast(module)); in FinishInstantiate() 290 return SyntheticModule::Evaluate(isolate, in Evaluate() 291 Handle<SyntheticModule>::cast(module)); in Evaluate()
|
D | synthetic-module-inl.h | 20 TQ_OBJECT_CONSTRUCTORS_IMPL(SyntheticModule)
|
D | synthetic-module.tq | 5 extern class SyntheticModule extends Module {
|
D | object-list-macros.h | 59 class SyntheticModule; variable 232 V(SyntheticModule) \
|
D | module-inl.h | 30 NEVER_READ_ONLY_SPACE_IMPL(SyntheticModule)
|
D | map.h | 73 V(SyntheticModule) \
|
D | objects-body-descriptors-inl.h | 1308 return CALL_APPLY(SyntheticModule); in BodyDescriptorApply()
|
/third_party/node/test/parallel/ |
D | test-vm-module-synthetic.js | 6 const { SyntheticModule, SourceTextModule } = require('vm'); 11 const s = new SyntheticModule(['x'], () => { 30 const s = new SyntheticModule([], () => { 41 const s = new SyntheticModule([], () => {}); 51 const s = new SyntheticModule([], () => {}); 61 const s = new SyntheticModule([], () => {}); 71 SyntheticModule.prototype.setExport.call({}, 'foo'); class
|
D | test-vm-module-basic.js | 10 SyntheticModule, 98 const m = new SyntheticModule([], () => {}, { context }); 130 assert.throws(() => new SyntheticModule(undefined, () => {}, {}), { 141 assert.throws(() => new SyntheticModule(['x', 'x'], () => {}, {}), { 149 assert.throws(() => new SyntheticModule([], undefined, {}), { 158 assert.throws(() => new SyntheticModule([], () => {}, null), { 167 const module = new SyntheticModule([], () => {});
|
/third_party/node/lib/internal/process/ |
D | pre_execution.js | 595 Module, SourceTextModule, SyntheticModule, 600 vm.SyntheticModule = SyntheticModule;
|
/third_party/node/test/es-module/ |
D | test-dynamic-import-script-lifetime.js | 24 const m = new vm.SyntheticModule(['bar'], () => {
|
D | test-vm-synthetic-module-leak.js | 11 const m = new vm.SyntheticModule(['bar'], () => {
|
/third_party/node/lib/internal/vm/ |
D | module.js | 384 class SyntheticModule extends Module { class 450 SyntheticModule, property
|
/third_party/node/deps/v8/src/heap/ |
D | objects-visiting.h | 55 V(SyntheticModule) \
|
D | factory.h | 69 class SyntheticModule; variable 641 Handle<SyntheticModule> NewSyntheticModule(
|
D | setup-heap-internal.cc | 506 ALLOCATE_MAP(SYNTHETIC_MODULE_TYPE, SyntheticModule::kSize, in CreateInitialMaps()
|
D | factory.cc | 2800 Handle<SyntheticModule> Factory::NewSyntheticModule( in NewSyntheticModule() 2810 SyntheticModule module = in NewSyntheticModule() 2811 SyntheticModule::cast(New(synthetic_module_map(), AllocationType::kOld)); in NewSyntheticModule()
|
/third_party/node/doc/api/ |
D | vm.md | 878 ## Class: `vm.SyntheticModule` 893 The `vm.SyntheticModule` class provides the [Synthetic Module Record][] as 902 const module = new vm.SyntheticModule(['default'], function() { 910 ### `new vm.SyntheticModule(exportNames, evaluateCallback[, options])` argument 928 Creates a new `SyntheticModule` instance. 952 const m = new vm.SyntheticModule(['x'], () => { 965 const m = new vm.SyntheticModule(['x'], () => {
|
/third_party/node/deps/v8/src/diagnostics/ |
D | objects-debug.cc | 1689 void SyntheticModule::SyntheticModuleVerify(Isolate* isolate) { in SyntheticModuleVerify()
|
D | objects-printer.cc | 1746 SyntheticModule::cast(*this).SyntheticModulePrint(os); in ModulePrint()
|
/third_party/node/deps/v8/src/api/ |
D | api.cc | 2458 i::SyntheticModule::SetExport(i_isolate, in SetSyntheticModuleExport() 2459 i::Handle<i::SyntheticModule>::cast(self), in SetSyntheticModuleExport()
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V13.md | 2147 …github.com/nodejs/node/commit/d78e3176dd)] - **src**: fix crash with SyntheticModule#setExport (Mi…
|
D | CHANGELOG_V12.md | 2121 …it/6a9f867e56)] - **vm**: throw error when duplicated exportNames in SyntheticModule (himself65) [… 3530 …github.com/nodejs/node/commit/e11a376677)] - **src**: fix crash with SyntheticModule#setExport (Mi…
|