#include <v8-script.h>
◆ Cast()
◆ GetImportAssertions()
◆ GetImportAttributes()
Contains the import attributes for this request in the form: [key1, value1, source_offset1, key2, value2, source_offset2, ...]. The keys and values are of type v8::String, and the source offsets are of type Int32. Use Module::SourceOffsetToLocation to convert the source offsets to Locations with line/column numbers.
All attributes present in the module request will be supplied in this list, regardless of whether they are supported by the host. Per https://tc39.es/proposal-import-attributes/#sec-hostgetsupportedimportattributes, hosts are expected to throw for attributes that they do not support (as opposed to, for example, ignoring them).
◆ GetPhase()
◆ GetSourceOffset()
int v8::ModuleRequest::GetSourceOffset |
( |
| ) |
const |
◆ GetSpecifier()
Local< String > v8::ModuleRequest::GetSpecifier |
( |
| ) |
const |
The documentation for this class was generated from the following file: