![]() |
V8
latest master commit
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
| Local< String > | Get () const |
| Isolate * | GetIsolate () const |
| V8_WARN_UNUSED_RESULT MaybeLocal< String > | GetSourceLine (Local< Context > context) const |
| ScriptOrigin | GetScriptOrigin () const |
| Local< Value > | GetScriptResourceName () const |
| Local< StackTrace > | GetStackTrace () const |
| V8_WARN_UNUSED_RESULT Maybe< int > | GetLineNumber (Local< Context > context) const |
| int | GetStartPosition () const |
| int | GetEndPosition () const |
| int | GetWasmFunctionIndex () const |
| int | ErrorLevel () const |
| int | GetStartColumn () const |
| V8_WARN_UNUSED_RESULT Maybe< int > | GetStartColumn (Local< Context > context) const |
| int | GetEndColumn () const |
| V8_WARN_UNUSED_RESULT Maybe< int > | GetEndColumn (Local< Context > context) const |
| bool | IsSharedCrossOrigin () const |
| bool | IsOpaque () const |
Static Public Member Functions | |
| static void | PrintCurrentStackTrace (Isolate *isolate, FILE *out) |
Static Public Attributes | |
| static const int | kNoLineNumberInfo = 0 |
| static const int | kNoColumnInfo = 0 |
| static const int | kNoScriptIdInfo = 0 |
| static const int | kNoWasmFunctionIndexInfo = -1 |
| int v8::Message::ErrorLevel | ( | ) | const |
Returns the error level of the message.
| int v8::Message::GetEndColumn | ( | ) | const |
Returns the index within the line of the last character where the error occurred.
| V8_WARN_UNUSED_RESULT Maybe<int> v8::Message::GetEndColumn | ( | Local< Context > | context | ) | const |
| int v8::Message::GetEndPosition | ( | ) | const |
Returns the index within the script of the last character where the error occurred.
| V8_WARN_UNUSED_RESULT Maybe<int> v8::Message::GetLineNumber | ( | Local< Context > | context | ) | const |
Returns the number, 1-based, of the line where the error occurred.
| ScriptOrigin v8::Message::GetScriptOrigin | ( | ) | const |
Returns the origin for the script from where the function causing the error originates.
Returns the resource name for the script from where the function causing the error originates.
| V8_WARN_UNUSED_RESULT MaybeLocal<String> v8::Message::GetSourceLine | ( | Local< Context > | context | ) | const |
| Local<StackTrace> v8::Message::GetStackTrace | ( | ) | const |
Exception stack trace. By default stack traces are not captured for uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows to change this option.
| int v8::Message::GetStartColumn | ( | ) | const |
Returns the index within the line of the first character where the error occurred.
| V8_WARN_UNUSED_RESULT Maybe<int> v8::Message::GetStartColumn | ( | Local< Context > | context | ) | const |
| int v8::Message::GetStartPosition | ( | ) | const |
Returns the index within the script of the first character where the error occurred.
| int v8::Message::GetWasmFunctionIndex | ( | ) | const |
Returns the Wasm function index where the error occurred. Returns -1 if message is not from a Wasm script.
| bool v8::Message::IsOpaque | ( | ) | const |
| bool v8::Message::IsSharedCrossOrigin | ( | ) | const |
|
static |