v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#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 90 of file messages.h.
|
static |
Definition at line 41 of file messages.cc.
References v8::internal::DISALLOW_NULLS, SmartPointerBase< Deallocator, T >::get(), MessageHandler::GetLocalizedMessage(), v8::internal::NULL, v8::internal::PrintF(), MessageLocation::script(), and MessageLocation::start_pos().
Referenced by MessageHandler::ReportMessage().
|
static |
Definition at line 188 of file messages.cc.
References v8::internal::DISALLOW_NULLS, and MessageHandler::GetMessage().
Referenced by MessageHandler::DefaultMessageReport(), and Isolate::DoThrow().
Definition at line 152 of file messages.cc.
References ARRAY_SIZE, Handle< T >::cast(), JSFunction::cast(), Isolate::factory(), v8::internal::FlattenString(), Factory::InternalizeOneByteString(), Value::IsString(), Isolate::js_builtins_object(), v8::internal::message, STATIC_ASCII_VECTOR, and Execution::TryCall().
Referenced by Message::Get(), and MessageHandler::GetLocalizedMessage().
|
static |
Definition at line 59 of file messages.cc.
References Handle< T >::cast(), MessageLocation::end_pos(), Isolate::factory(), v8::internal::GetScriptWrapper(), Factory::InternalizeUtf8String(), Handle< T >::is_null(), v8::internal::message, Factory::NewFixedArray(), Factory::NewJSArrayWithElements(), Factory::NewJSMessageObject(), MessageLocation::script(), and MessageLocation::start_pos().
Referenced by Isolate::DoThrow().
|
static |
Definition at line 100 of file messages.cc.
References JSObject::cast(), Foreign::cast(), Isolate::clear_pending_exception(), Isolate::clear_scheduled_exception(), MessageHandler::DefaultMessageReport(), Isolate::factory(), NeanderObject::get(), Isolate::has_pending_exception(), Isolate::has_scheduled_exception(), Isolate::heap(), NeanderArray::length(), Utils::MessageToLocal(), Isolate::pending_exception(), and Utils::ToLocal().
Referenced by Isolate::ReportPendingMessages().