v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::SyntheticModule Class Reference

#include <synthetic-module.h>

Inheritance diagram for v8::internal::SyntheticModule:
Collaboration diagram for v8::internal::SyntheticModule:

Public Types

using BodyDescriptor
 

Static Public Member Functions

static NEVER_READ_ONLY_SPACE Maybe< boolSetExport (Isolate *isolate, DirectHandle< SyntheticModule > module, DirectHandle< String > export_name, DirectHandle< Object > export_value)
 
static void SetExportStrict (Isolate *isolate, DirectHandle< SyntheticModule > module, DirectHandle< String > export_name, DirectHandle< Object > export_value)
 

Static Private Member Functions

static V8_WARN_UNUSED_RESULT MaybeHandle< CellResolveExport (Isolate *isolate, DirectHandle< SyntheticModule > module, DirectHandle< String > module_specifier, DirectHandle< String > export_name, MessageLocation loc, bool must_resolve)
 
static V8_WARN_UNUSED_RESULT bool PrepareInstantiate (Isolate *isolate, DirectHandle< SyntheticModule > module, v8::Local< v8::Context > context)
 
static V8_WARN_UNUSED_RESULT bool FinishInstantiate (Isolate *isolate, DirectHandle< SyntheticModule > module)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectEvaluate (Isolate *isolate, DirectHandle< SyntheticModule > module)
 

Friends

class Module
 

Detailed Description

Definition at line 22 of file synthetic-module.h.

Member Typedef Documentation

◆ BodyDescriptor

Initial value:
SubclassBodyDescriptor<Module::BodyDescriptor,
FixedBodyDescriptor<kNameOffset, kSize, kSize>>
FixedBodyDescriptor< kExportsOffset, kHeaderSize, kHeaderSize > BodyDescriptor
Definition module.h:79

Definition at line 46 of file synthetic-module.h.

Member Function Documentation

◆ Evaluate()

MaybeDirectHandle< Object > v8::internal::SyntheticModule::Evaluate ( Isolate * isolate,
DirectHandle< SyntheticModule > module )
staticprivate

Definition at line 101 of file synthetic-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FinishInstantiate()

bool v8::internal::SyntheticModule::FinishInstantiate ( Isolate * isolate,
DirectHandle< SyntheticModule > module )
staticprivate

Definition at line 93 of file synthetic-module.cc.

Here is the caller graph for this function:

◆ PrepareInstantiate()

bool v8::internal::SyntheticModule::PrepareInstantiate ( Isolate * isolate,
DirectHandle< SyntheticModule > module,
v8::Local< v8::Context > context )
staticprivate

Definition at line 72 of file synthetic-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ResolveExport()

MaybeHandle< Cell > v8::internal::SyntheticModule::ResolveExport ( Isolate * isolate,
DirectHandle< SyntheticModule > module,
DirectHandle< String > module_specifier,
DirectHandle< String > export_name,
MessageLocation loc,
bool must_resolve )
staticprivate

Definition at line 54 of file synthetic-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetExport()

Maybe< bool > v8::internal::SyntheticModule::SetExport ( Isolate * isolate,
DirectHandle< SyntheticModule > module,
DirectHandle< String > export_name,
DirectHandle< Object > export_value )
static

Definition at line 21 of file synthetic-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetExportStrict()

void v8::internal::SyntheticModule::SetExportStrict ( Isolate * isolate,
DirectHandle< SyntheticModule > module,
DirectHandle< String > export_name,
DirectHandle< Object > export_value )
static

Definition at line 40 of file synthetic-module.cc.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ Module

friend class Module
friend

Definition at line 51 of file synthetic-module.h.


The documentation for this class was generated from the following files: