![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <module.h>
Classes | |
struct | Hash |
class | ResolveSet |
Public Types | |
enum | Status { kUnlinked , kPreLinking , kLinking , kLinked , kEvaluating , kEvaluatingAsync , kEvaluated , kErrored } |
using | BodyDescriptor |
Public Member Functions | |
Tagged< Object > | GetException () |
V8_WARN_UNUSED_RESULT bool | IsGraphAsync (Isolate *isolate) const |
Static Public Member Functions | |
static V8_WARN_UNUSED_RESULT bool | Instantiate (Isolate *isolate, Handle< Module > module, v8::Local< v8::Context > context, v8::Module::ResolveModuleCallback module_callback, v8::Module::ResolveSourceCallback source_callback) |
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< Object > | Evaluate (Isolate *isolate, Handle< Module > module) |
static DirectHandle< JSModuleNamespace > | GetModuleNamespace (Isolate *isolate, Handle< Module > module) |
Protected Member Functions | |
void | SetStatus (Status status) |
void | RecordError (Isolate *isolate, Tagged< Object > error) |
Static Protected Member Functions | |
static V8_WARN_UNUSED_RESULT MaybeHandle< Cell > | ResolveExport (Isolate *isolate, Handle< Module > module, DirectHandle< String > module_specifier, Handle< String > export_name, MessageLocation loc, bool must_resolve, ResolveSet *resolve_set) |
static V8_WARN_UNUSED_RESULT bool | PrepareInstantiate (Isolate *isolate, DirectHandle< Module > module, v8::Local< v8::Context > context, v8::Module::ResolveModuleCallback module_callback, v8::Module::ResolveSourceCallback source_callback) |
static V8_WARN_UNUSED_RESULT bool | FinishInstantiate (Isolate *isolate, Handle< Module > module, ZoneForwardList< Handle< SourceTextModule > > *stack, unsigned *dfs_index, Zone *zone) |
static void | Reset (Isolate *isolate, DirectHandle< Module > module) |
static void | ResetGraph (Isolate *isolate, DirectHandle< Module > module) |
Friends | |
class | Factory |
|
static |
|
staticprotected |
|
static |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |