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

#include <source-text-module.h>

Inheritance diagram for v8::internal::ModuleRequest:
Collaboration diagram for v8::internal::ModuleRequest:

Public Types

using BodyDescriptor = StructBodyDescriptor
 

Public Member Functions

void set_phase (ModuleImportPhase phase)
 
ModuleImportPhase phase () const
 
template<typename IsolateT >
Handle< ModuleRequestNew (IsolateT *isolate, DirectHandle< String > specifier, ModuleImportPhase phase, DirectHandle< FixedArray > import_attributes, int position)
 

Static Public Member Functions

template<typename IsolateT >
static NEVER_READ_ONLY_SPACE Handle< ModuleRequestNew (IsolateT *isolate, DirectHandle< String > specifier, ModuleImportPhase phase, DirectHandle< FixedArray > import_attributes, int position)
 

Static Public Attributes

static const size_t kAttributeEntrySize = 3
 

Detailed Description

Definition at line 279 of file source-text-module.h.

Member Typedef Documentation

◆ BodyDescriptor

Member Function Documentation

◆ New() [1/2]

template<typename IsolateT >
Handle< ModuleRequest > v8::internal::ModuleRequest::New ( IsolateT * isolate,
DirectHandle< String > specifier,
ModuleImportPhase phase,
DirectHandle< FixedArray > import_attributes,
int position )

Definition at line 1158 of file scope-info.cc.

Here is the call graph for this function:

◆ New() [2/2]

template<typename IsolateT >
static NEVER_READ_ONLY_SPACE Handle< ModuleRequest > v8::internal::ModuleRequest::New ( IsolateT * isolate,
DirectHandle< String > specifier,
ModuleImportPhase phase,
DirectHandle< FixedArray > import_attributes,
int position )
static
Here is the caller graph for this function:

◆ phase()

ModuleImportPhase v8::internal::ModuleRequest::phase ( ) const
inline

Definition at line 50 of file module-inl.h.

Here is the caller graph for this function:

◆ set_phase()

void v8::internal::ModuleRequest::set_phase ( ModuleImportPhase phase)
inline

Member Data Documentation

◆ kAttributeEntrySize

const size_t v8::internal::ModuleRequest::kAttributeEntrySize = 3
static

Definition at line 294 of file source-text-module.h.


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