v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::MessageHandler Class Reference

#include <messages.h>

Collaboration diagram for v8::internal::MessageHandler:

Static Public Member Functions

static V8_EXPORT_PRIVATE Handle< JSMessageObjectMakeMessageObject (Isolate *isolate, MessageTemplate type, const MessageLocation *location, DirectHandle< Object > argument, DirectHandle< StackTraceInfo > stack_trace=DirectHandle< StackTraceInfo >::null())
 
static V8_EXPORT_PRIVATE void ReportMessage (Isolate *isolate, const MessageLocation *loc, DirectHandle< JSMessageObject > message)
 
static void DefaultMessageReport (Isolate *isolate, const MessageLocation *loc, DirectHandle< Object > message_obj)
 
static DirectHandle< StringGetMessage (Isolate *isolate, DirectHandle< Object > data)
 
static std::unique_ptr< char[]> GetLocalizedMessage (Isolate *isolate, DirectHandle< Object > data)
 

Static Private Member Functions

static void ReportMessageNoExceptions (Isolate *isolate, const MessageLocation *loc, DirectHandle< Object > message_obj, Local< Value > api_exception_obj)
 

Detailed Description

Definition at line 171 of file messages.h.

Member Function Documentation

◆ DefaultMessageReport()

void v8::internal::MessageHandler::DefaultMessageReport ( Isolate * isolate,
const MessageLocation * loc,
DirectHandle< Object > message_obj )
static

Definition at line 61 of file messages.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetLocalizedMessage()

std::unique_ptr< char[]> v8::internal::MessageHandler::GetLocalizedMessage ( Isolate * isolate,
DirectHandle< Object > data )
static

Definition at line 194 of file messages.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMessage()

DirectHandle< String > v8::internal::MessageHandler::GetMessage ( Isolate * isolate,
DirectHandle< Object > data )
static

Definition at line 186 of file messages.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeMessageObject()

Handle< JSMessageObject > v8::internal::MessageHandler::MakeMessageObject ( Isolate * isolate,
MessageTemplate type,
const MessageLocation * location,
DirectHandle< Object > argument,
DirectHandle< StackTraceInfo > stack_trace = DirectHandle<StackTraceInfo>::null() )
static

Definition at line 77 of file messages.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReportMessage()

void v8::internal::MessageHandler::ReportMessage ( Isolate * isolate,
const MessageLocation * loc,
DirectHandle< JSMessageObject > message )
static

Definition at line 98 of file messages.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReportMessageNoExceptions()

void v8::internal::MessageHandler::ReportMessageNoExceptions ( Isolate * isolate,
const MessageLocation * loc,
DirectHandle< Object > message_obj,
Local< Value > api_exception_obj )
staticprivate

Definition at line 149 of file messages.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

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