![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <v8-isolate.h>
Public Types | |
| enum | OnFailure { CRASH_ON_FAILURE , THROW_ON_FAILURE , DUMP_ON_FAILURE } |
Public Member Functions | |
| DisallowJavascriptExecutionScope (Isolate *isolate, OnFailure on_failure) | |
| ~DisallowJavascriptExecutionScope () | |
| DisallowJavascriptExecutionScope (const DisallowJavascriptExecutionScope &)=delete | |
| DisallowJavascriptExecutionScope & | operator= (const DisallowJavascriptExecutionScope &)=delete |
Private Attributes | |
| v8::Isolate *const | v8_isolate_ |
| const OnFailure | on_failure_ |
| bool | was_execution_allowed_ |
Assert that no Javascript code is invoked.
Definition at line 387 of file v8-isolate.h.
| Enumerator | |
|---|---|
| CRASH_ON_FAILURE | |
| THROW_ON_FAILURE | |
| DUMP_ON_FAILURE | |
Definition at line 389 of file v8-isolate.h.
| v8::Isolate::DisallowJavascriptExecutionScope::~DisallowJavascriptExecutionScope | ( | ) |
|
delete |
|
delete |
|
private |
Definition at line 402 of file v8-isolate.h.
|
private |
Definition at line 401 of file v8-isolate.h.
|
private |
Definition at line 403 of file v8-isolate.h.