V8 Project
|
#include <messages.h>
Static Public Member Functions | |
static Handle< JSMessageObject > | MakeMessageObject (Isolate *isolate, const char *type, MessageLocation *loc, Vector< Handle< Object > > args, Handle< JSArray > stack_frames) |
static void | ReportMessage (Isolate *isolate, MessageLocation *loc, Handle< Object > message) |
static void | DefaultMessageReport (Isolate *isolate, const MessageLocation *loc, Handle< Object > message_obj) |
static Handle< String > | GetMessage (Isolate *isolate, Handle< Object > data) |
static SmartArrayPointer< char > | GetLocalizedMessage (Isolate *isolate, Handle< Object > data) |
Definition at line 67 of file messages.h.
|
static |
Definition at line 18 of file messages.cc.
References v8::internal::Handle< T >::cast(), v8::internal::DISALLOW_NULLS, v8::internal::SmartPointerBase< Deallocator, T >::get(), GetLocalizedMessage(), NULL, v8::internal::PrintF(), v8::internal::MessageLocation::script(), and v8::internal::MessageLocation::start_pos().
Referenced by ReportMessage().
|
static |
Definition at line 157 of file messages.cc.
References v8::internal::DISALLOW_NULLS, and GetMessage().
Referenced by DefaultMessageReport(), and v8::internal::Isolate::DoThrow().
|
static |
Definition at line 129 of file messages.cc.
References arraysize, v8::internal::Handle< T >::cast(), v8::internal::Isolate::factory(), v8::internal::String::Flatten(), v8::internal::Object::GetProperty(), v8::internal::Isolate::js_builtins_object(), and STATIC_CHAR_VECTOR.
Referenced by v8::Message::Get(), and GetLocalizedMessage().
|
static |
Definition at line 36 of file messages.cc.
References v8::internal::Handle< T >::cast(), v8::internal::MessageLocation::end_pos(), v8::internal::Isolate::factory(), v8::internal::Script::GetWrapper(), v8::internal::Handle< T >::is_null(), v8::internal::MessageLocation::script(), and v8::internal::MessageLocation::start_pos().
Referenced by v8::internal::Debug::CompileDebuggerScript(), and v8::internal::Isolate::DoThrow().
|
static |
Definition at line 77 of file messages.cc.
References v8::internal::Isolate::clear_pending_exception(), v8::internal::Isolate::clear_scheduled_exception(), DefaultMessageReport(), v8::internal::Isolate::factory(), v8::NeanderObject::get(), v8::NeanderArray::get(), v8::internal::Isolate::has_pending_exception(), v8::internal::Isolate::has_scheduled_exception(), v8::internal::Isolate::heap(), v8::NeanderArray::length(), v8::Utils::MessageToLocal(), v8::internal::Isolate::pending_exception(), and v8::Utils::ToLocal().
Referenced by v8::internal::Debug::CompileDebuggerScript(), and v8::internal::Isolate::ReportPendingMessages().