Home
last modified time | relevance | path

Searched refs:SyntheticModule (Results 1 – 25 of 27) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
Dsynthetic-module.h22 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)
Dsynthetic-module.cc21 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 …]
Dmodule.cc34 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()
Dsynthetic-module-inl.h20 TQ_OBJECT_CONSTRUCTORS_IMPL(SyntheticModule)
Dsynthetic-module.tq5 extern class SyntheticModule extends Module {
Dobject-list-macros.h59 class SyntheticModule; variable
232 V(SyntheticModule) \
Dmodule-inl.h30 NEVER_READ_ONLY_SPACE_IMPL(SyntheticModule)
Dmap.h73 V(SyntheticModule) \
Dobjects-body-descriptors-inl.h1308 return CALL_APPLY(SyntheticModule); in BodyDescriptorApply()
/third_party/node/test/parallel/
Dtest-vm-module-synthetic.js6 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
Dtest-vm-module-basic.js10 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/
Dpre_execution.js595 Module, SourceTextModule, SyntheticModule,
600 vm.SyntheticModule = SyntheticModule;
/third_party/node/test/es-module/
Dtest-dynamic-import-script-lifetime.js24 const m = new vm.SyntheticModule(['bar'], () => {
Dtest-vm-synthetic-module-leak.js11 const m = new vm.SyntheticModule(['bar'], () => {
/third_party/node/lib/internal/vm/
Dmodule.js384 class SyntheticModule extends Module { class
450 SyntheticModule, property
/third_party/node/deps/v8/src/heap/
Dobjects-visiting.h55 V(SyntheticModule) \
Dfactory.h69 class SyntheticModule; variable
641 Handle<SyntheticModule> NewSyntheticModule(
Dsetup-heap-internal.cc506 ALLOCATE_MAP(SYNTHETIC_MODULE_TYPE, SyntheticModule::kSize, in CreateInitialMaps()
Dfactory.cc2800 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/
Dvm.md878 ## 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/
Dobjects-debug.cc1689 void SyntheticModule::SyntheticModuleVerify(Isolate* isolate) { in SyntheticModuleVerify()
Dobjects-printer.cc1746 SyntheticModule::cast(*this).SyntheticModulePrint(os); in ModulePrint()
/third_party/node/deps/v8/src/api/
Dapi.cc2458 i::SyntheticModule::SetExport(i_isolate, in SetSyntheticModuleExport()
2459 i::Handle<i::SyntheticModule>::cast(self), in SetSyntheticModuleExport()
/third_party/node/doc/changelogs/
DCHANGELOG_V13.md2147 …github.com/nodejs/node/commit/d78e3176dd)] - **src**: fix crash with SyntheticModule#setExport (Mi…
DCHANGELOG_V12.md2121 …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…

12