V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::Shell Class Reference
Inheritance diagram for v8::Shell:
v8::internal::AllStatic

Public Types

enum  PrintResult : bool { kPrintResult = true, kNoPrintResult = false }
 
enum  ReportExceptions : bool { kReportExceptions = true, kNoReportExceptions = false }
 
enum  ProcessMessageQueue : bool { kProcessMessageQueue = true, kNoProcessMessageQueue = false }
 

Static Public Member Functions

static bool ExecuteString (Isolate *isolate, Local< String > source, Local< Value > name, PrintResult print_result, ReportExceptions report_exceptions, ProcessMessageQueue process_message_queue)
 
static bool ExecuteModule (Isolate *isolate, const char *file_name)
 
static void ReportException (Isolate *isolate, TryCatch *try_catch)
 
static Local< StringReadFile (Isolate *isolate, const char *name)
 
static Local< Context > CreateEvaluationContext (Isolate *isolate)
 
static int RunMain (Isolate *isolate, int argc, char *argv[], bool last_run)
 
static int Main (int argc, char *argv[])
 
static void Exit (int exit_code)
 
static void OnExit (Isolate *isolate)
 
static void CollectGarbage (Isolate *isolate)
 
static bool EmptyMessageQueues (Isolate *isolate)
 
static void CompleteMessageLoop (Isolate *isolate)
 
static std::unique_ptr< SerializationDataSerializeValue (Isolate *isolate, Local< Value > value, Local< Value > transfer)
 
static MaybeLocal< ValueDeserializeValue (Isolate *isolate, std::unique_ptr< SerializationData > data)
 
static void CleanupWorkers ()
 
static intLookupCounter (const char *name)
 
static void * CreateHistogram (const char *name, int min, int max, size_t buckets)
 
static void AddHistogramSample (void *histogram, int sample)
 
static void MapCounters (v8::Isolate *isolate, const char *name)
 
static void PerformanceNow (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RealmCurrent (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RealmOwner (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RealmGlobal (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RealmCreate (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RealmNavigate (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RealmCreateAllowCrossRealmAccess (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RealmDispose (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RealmSwitch (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RealmEval (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RealmSharedGet (Local< String > property, const PropertyCallbackInfo< Value > &info)
 
static void RealmSharedSet (Local< String > property, Local< Value > value, const PropertyCallbackInfo< void > &info)
 
static void AsyncHooksCreateHook (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void AsyncHooksExecutionAsyncId (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void AsyncHooksTriggerAsyncId (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void Print (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void PrintErr (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void Write (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void WaitUntilDone (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void NotifyDone (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void QuitOnce (v8::FunctionCallbackInfo< v8::Value > *args)
 
static void Quit (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void Version (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void Read (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void ReadBuffer (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static Local< StringReadFromStdin (Isolate *isolate)
 
static void ReadLine (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void Load (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void SetTimeout (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void WorkerNew (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void WorkerPostMessage (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void WorkerGetMessage (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void WorkerTerminate (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void System (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void ChangeDirectory (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void SetEnvironment (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void UnsetEnvironment (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void SetUMask (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void MakeDirectory (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static void RemoveDirectory (const v8::FunctionCallbackInfo< v8::Value > &args)
 
static MaybeLocal< PromiseHostImportModuleDynamically (Local< Context > context, Local< ScriptOrModule > referrer, Local< String > specifier)
 
static void HostInitializeImportMetaObject (Local< Context > context, Local< Module > module, Local< Object > meta)
 
static void DoHostImportModuleDynamically (void *data)
 
static void AddOSMethods (v8::Isolate *isolate, Local< ObjectTemplate > os_template)
 
static void SetWaitUntilDone (Isolate *isolate, bool value)
 
static charReadCharsFromTcpPort (const char *name, int *size_out)
 
static void set_script_executed ()
 
static bool use_interactive_shell ()
 

Static Public Attributes

static const charkPrompt
 
static ShellOptions options
 
static ArrayBuffer::Allocatorarray_buffer_allocator
 

Detailed Description

Definition at line 394 of file d8.h.


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