v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <messages.h>
Static Public Member Functions | |
static Handle< JSMessageObject > | MakeMessageObject (const char *type, MessageLocation *loc, Vector< Handle< Object > > args, Handle< String > stack_trace, Handle< JSArray > stack_frames) |
static void | ReportMessage (Isolate *isolate, MessageLocation *loc, Handle< Object > message) |
static void | DefaultMessageReport (const MessageLocation *loc, Handle< Object > message_obj) |
static Handle< String > | GetMessage (Handle< Object > data) |
static SmartArrayPointer< char > | GetLocalizedMessage (Handle< Object > data) |
Definition at line 90 of file messages.h.
|
static |
Definition at line 41 of file messages.cc.
References v8::internal::DISALLOW_NULLS, MessageHandler::GetLocalizedMessage(), v8::internal::NULL, v8::internal::PrintF(), MessageLocation::script(), and MessageLocation::start_pos().
Referenced by MessageHandler::ReportMessage().
|
static |
Definition at line 182 of file messages.cc.
References v8::internal::DISALLOW_NULLS, and MessageHandler::GetMessage().
Referenced by MessageHandler::DefaultMessageReport().
Definition at line 151 of file messages.cc.
References ARRAY_SIZE, Handle< T >::cast(), JSFunction::cast(), FACTORY, v8::internal::FlattenString(), and Execution::TryCall().
Referenced by Message::Get(), and MessageHandler::GetLocalizedMessage().
|
static |
Definition at line 58 of file messages.cc.
References Handle< T >::cast(), MessageLocation::end_pos(), FACTORY, v8::internal::GetScriptWrapper(), Handle< T >::is_null(), v8::internal::message, MessageLocation::script(), and MessageLocation::start_pos().
Referenced by Isolate::DoThrow().
|
static |
Definition at line 103 of file messages.cc.
References Foreign::cast(), Isolate::clear_pending_exception(), Isolate::clear_scheduled_exception(), MessageHandler::DefaultMessageReport(), FACTORY, Isolate::has_pending_exception(), Isolate::has_scheduled_exception(), Isolate::heap(), NeanderArray::length(), Utils::MessageToLocal(), Isolate::pending_exception(), Isolate::set_external_caught_exception(), and Utils::ToLocal().
Referenced by Isolate::ReportPendingMessages().