v8
3.11.10(node0.8.26)
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 175 of file messages.cc.
References v8::internal::DISALLOW_NULLS, and MessageHandler::GetMessage().
Referenced by MessageHandler::DefaultMessageReport().
Definition at line 144 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(), MessageLocation::script(), and MessageLocation::start_pos().
Referenced by Isolate::DoThrow().
|
static |
Definition at line 103 of file messages.cc.
References JSObject::cast(), Foreign::cast(), Isolate::clear_pending_exception(), Isolate::clear_scheduled_exception(), MessageHandler::DefaultMessageReport(), FACTORY, NeanderObject::get(), Isolate::has_scheduled_exception(), NeanderArray::length(), Utils::MessageToLocal(), Isolate::set_external_caught_exception(), and Utils::ToLocal().
Referenced by Isolate::ReportPendingMessages().