Debugger support for the V8 JavaScript engine.
The v8 JavaScript engine.
typedef Handle<Value>(* v8::AccessorGetter)(Local< String > property, const AccessorInfo &info) |
typedef void(* v8::AccessorSetter)(Local< String > property, Local< Value > value, const AccessorInfo &info) |
typedef Persistent<Context>(* v8::ContextGenerator)() |
typedef int*(* v8::CounterLookupCallback)(const wchar_t *name) |
typedef void(* v8::DebugEventCallback)(DebugEvent event, Handle< Object > exec_state, Handle< Object > event_data, Handle< Value > data) |
Debug event callback function.
event | the debug event from which occoured (from the DebugEvent enumeration) | |
exec_state | execution state (JavaScript object) | |
event_data | event specific data (JavaScript object) | |
data | value passed by the user to AddDebugEventListener |
v8-debug.h の 91 行で定義されています。
typedef void(* v8::DebugMessageHandler)(const uint16_t *message, int length, void *data) |
Debug message callback function.
message | the debug message | |
length | length of the message A DebugMessageHandler does not take posession of the message string, and must not rely on the data persisting after the handler returns. |
v8-debug.h の 105 行で定義されています。
typedef void(* v8::FailedAccessCheckCallback)(Local< Object > target, AccessType type, Local< Value > data) |
typedef void(* v8::FatalErrorCallback)(const char *location, const char *message) |
typedef void(* v8::GCCallback)() |
Applications can register a callback function which is called before and after a major garbage collection. Allocations are not allowed in the callback function, you therefore cannot manipulate objects (set or delete properties for example) since it is possible such operations will result in the allocation of objects.
typedef Handle<Boolean>(* v8::IndexedPropertyDeleter)(uint32_t index, const AccessorInfo &info) |
typedef Handle<Array>(* v8::IndexedPropertyEnumerator)(const AccessorInfo &info) |
typedef Handle<Value>(* v8::IndexedPropertyGetter)(uint32_t index, const AccessorInfo &info) |
typedef Handle<Boolean>(* v8::IndexedPropertyQuery)(uint32_t index, const AccessorInfo &info) |
typedef Handle<Value>(* v8::IndexedPropertySetter)(uint32_t index, Local< Value > value, const AccessorInfo &info) |
typedef bool(* v8::IndexedSecurityCallback)(Local< Object > global, uint32_t index, AccessType type, Local< Value > data) |
typedef int(* v8::LookupCallback)(Local< Object > self, Local< String > name) |
typedef void(* v8::MessageCallback)(Handle< Message > message, Handle< Value > data) |
typedef Handle<Boolean>(* v8::NamedPropertyDeleter)(Local< String > property, const AccessorInfo &info) |
typedef Handle<Array>(* v8::NamedPropertyEnumerator)(const AccessorInfo &info) |
typedef Handle<Value>(* v8::NamedPropertyGetter)(Local< String > property, const AccessorInfo &info) |
NamedProperty[Getter|Setter] are used as interceptors on object. See ObjectTemplate::SetNamedPropertyHandler.
typedef Handle<Boolean>(* v8::NamedPropertyQuery)(Local< String > property, const AccessorInfo &info) |
typedef Handle<Value>(* v8::NamedPropertySetter)(Local< String > property, Local< Value > value, const AccessorInfo &info) |
typedef bool(* v8::NamedSecurityCallback)(Local< Object > global, Local< Value > key, AccessType type, Local< Value > data) |
typedef void(* v8::WeakReferenceCallback)(Persistent< Value > object, void *parameter) |
enum v8::AccessControl |
enum v8::AccessType |
enum v8::DebugEvent |
v8-debug.h の 73 行で定義されています。
static bool v8::ApiCheck | ( | bool | condition, | |
const char * | location, | |||
const char * | message | |||
) | [inline, static] |
参照先 v8::Utils::ReportApiFailure().
参照元 v8::Date::Cast(), v8::Array::Cast(), v8::Integer::Cast(), v8::Number::Cast(), v8::String::Cast(), v8::Function::Cast(), v8::Object::Cast(), v8::External::Cast(), v8::HandleScope::CreateHandle(), EnsureInitialized(), v8::Context::Exit(), v8::Object::GetInternalField(), v8::Context::New(), v8::HandleScope::RawClose(), v8::Object::SetInternalField(), と v8::ObjectTemplate::SetInternalFieldCount().
static i::Handle<i::Object> v8::CallV8HeapFunction | ( | const char * | name, | |
i::Handle< i::Object > | recv, | |||
int | argc, | |||
i::Object ** | argv[], | |||
bool * | has_pending_exception | |||
) | [static] |
参照先 v8::internal::Top::builtins(), v8::internal::Execution::Call(), v8::internal::JSFunction::cast(), v8::internal::Factory::LookupAsciiSymbol(), と v8::internal::Object.
参照元 CallV8HeapFunction(), v8::Value::Equals(), v8::Message::GetEndColumn(), v8::Message::GetLineNumber(), v8::Message::GetSourceLine(), と v8::Message::GetStartColumn().
static i::Handle<i::Object> v8::CallV8HeapFunction | ( | const char * | name, | |
i::Handle< i::Object > | data, | |||
bool * | has_pending_exception | |||
) | [static] |
static void v8::DefaultFatalErrorHandler | ( | const char * | location, | |
const char * | message | |||
) | [static] |
参照先 API_Fatal().
static void v8::DisposeExternalAsciiString | ( | v8::Persistent< v8::Value > | obj, | |
void * | parameter | |||
) | [static] |
static void v8::DisposeExternalString | ( | v8::Persistent< v8::Value > | obj, | |
void * | parameter | |||
) | [static] |
static bool v8::EmptyCheck | ( | const char * | location, | |
v8::Data * | obj | |||
) | [inline, static] |
参照先 ReportEmptyHandle().
static bool v8::EmptyCheck | ( | const char * | location, | |
v8::Handle< v8::Data > | obj | |||
) | [inline, static] |
static void v8::EnsureConstructor | ( | ObjectTemplate * | object_template | ) | [static] |
参照先 v8::FunctionTemplate::New(), と v8::Utils::OpenHandle().
参照元 v8::ObjectTemplate::MarkAsUndetectable(), v8::Context::New(), v8::ObjectTemplate::SetAccessCheckCallbacks(), v8::ObjectTemplate::SetAccessor(), v8::ObjectTemplate::SetCallAsFunctionHandler(), v8::ObjectTemplate::SetIndexedPropertyHandler(), v8::ObjectTemplate::SetInternalFieldCount(), と v8::ObjectTemplate::SetNamedPropertyHandler().
static i::Handle<i::FunctionTemplateInfo> v8::EnsureConstructor | ( | i::Handle< i::ObjectTemplateInfo > | templ | ) | [static] |
static void v8::EnsureInitialized | ( | const char * | location | ) | [static] |
参照先 ApiCheck(), v8::V8::Initialize(), と IsDeadCheck().
参照元 v8::Debug::AddDebugEventListener(), v8::V8::AddMessageListener(), v8::String::AsciiValue::AsciiValue(), v8::ImplementationUtilities::False(), v8::String::GetExternalAsciiStringResource(), v8::String::GetExternalStringResource(), v8::String::IsExternal(), v8::String::IsExternalAscii(), v8::NeanderObject::NeanderObject(), v8::Integer::New(), v8::Number::New(), v8::Array::New(), v8::Date::New(), v8::Object::New(), v8::String::New(), v8::External::New(), v8::Context::New(), v8::ObjectTemplate::New(), v8::TypeSwitch::New(), v8::Signature::New(), v8::FunctionTemplate::New(), v8::String::NewExternal(), v8::String::NewSymbol(), v8::String::NewUndetectable(), v8::ImplementationUtilities::Null(), v8::Debug::RemoveDebugEventListener(), v8::V8::RemoveMessageListeners(), v8::Debug::SetMessageHandler(), v8::ImplementationUtilities::True(), v8::ImplementationUtilities::Undefined(), v8::String::Utf8Value::Utf8Value(), と v8::String::Value::Value().
参照元 v8::Boolean::New().
static v8::internal::Handle<v8::internal::Object> v8::FromCData | ( | T | obj | ) | [inline, static] |
参照先 v8::internal::Factory::NewProxy(), STATIC_ASSERT, と T.
参照元 v8::FunctionTemplate::AddInstancePropertyAccessor(), v8::ObjectTemplate::SetAccessCheckCallbacks(), v8::FunctionTemplate::SetCallHandler(), v8::FunctionTemplate::SetIndexedInstancePropertyHandler(), v8::FunctionTemplate::SetInstanceCallAsFunctionHandler(), と v8::FunctionTemplate::SetNamedInstancePropertyHandler().
static FatalErrorCallback& v8::GetFatalErrorHandler | ( | ) | [static] |
参照先 exception_behavior, と NULL.
参照元 v8::Utils::ReportApiFailure(), ReportEmptyHandle(), と ReportV8Dead().
static void v8::InitializeFunctionTemplate | ( | i::Handle< i::FunctionTemplateInfo > | info | ) | [static] |
static void v8::InitializeTemplate | ( | i::Handle< i::TemplateInfo > | that, | |
int | type | |||
) | [static] |
static bool v8::IsDeadCheck | ( | const char * | location | ) | [inline, static] |
IsDeadCheck checks that the vm is useable. If, for instance, the vm has been out of memory at some point this check will fail. It should be called on entry to all methods that touch anything in the heap, except destructors which you sometimes can't avoid calling after the vm has crashed. Functions that call EnsureInitialized or ON_BAILOUT don't have to also call IsDeadCheck. ON_BAILOUT has the advantage over EnsureInitialized that you can arrange to return if the VM is dead. This is needed to ensure that no VM heap allocations are attempted on a dead VM. EnsureInitialized has the advantage over ON_BAILOUT that it actually initializes the VM if this has not yet been done.
参照先 has_shut_down, と ReportV8Dead().
参照元 v8::FunctionTemplate::AddInstancePropertyAccessor(), v8::V8::AddObjectToGroup(), v8::V8::AdjustAmountOfExternalAllocatedMemory(), v8::Value::BooleanValue(), v8::Date::Cast(), v8::Array::Cast(), v8::Integer::Cast(), v8::Number::Cast(), v8::String::Cast(), v8::Function::Cast(), v8::Object::Cast(), v8::External::Cast(), v8::Context::DetachGlobal(), v8::V8::EnableSlidingStateWindow(), EnsureInitialized(), v8::Context::Enter(), v8::Value::Equals(), v8::ImplementationUtilities::False(), v8::Context::GetCurrent(), v8::Message::GetEndColumn(), v8::Message::GetEndPosition(), v8::Context::GetEntered(), v8::Object::GetInternalField(), v8::Message::GetScriptResourceName(), v8::Context::GetSecurityToken(), v8::Message::GetStartColumn(), v8::Message::GetStartPosition(), v8::Context::Global(), v8::V8::GlobalizeReference(), v8::FunctionTemplate::Inherit(), v8::FunctionTemplate::InstanceTemplate(), v8::Value::Int32Value(), v8::Value::IntegerValue(), v8::Object::InternalFieldCount(), v8::ObjectTemplate::InternalFieldCount(), v8::Value::IsArray(), v8::Value::IsBoolean(), v8::Value::IsDate(), v8::Value::IsExternal(), v8::Value::IsFalse(), v8::Value::IsFunction(), v8::Value::IsInt32(), v8::Value::IsNull(), v8::Value::IsNumber(), v8::Value::IsObject(), v8::Value::IsString(), v8::Value::IsTrue(), v8::Value::IsUndefined(), v8::Array::Length(), v8::String::Length(), v8::ObjectTemplate::MarkAsUndetectable(), v8::ObjectTemplate::New(), v8::ImplementationUtilities::Null(), v8::Date::NumberValue(), v8::Value::NumberValue(), v8::Message::PrintCurrentStackTrace(), v8::FunctionTemplate::PrototypeTemplate(), v8::Template::Set(), v8::ObjectTemplate::SetAccessCheckCallbacks(), v8::ObjectTemplate::SetAccessor(), v8::ObjectTemplate::SetCallAsFunctionHandler(), v8::FunctionTemplate::SetCallHandler(), v8::FunctionTemplate::SetClassName(), v8::V8::SetCounterFunction(), v8::V8::SetFailedAccessCheckCallbackFunction(), v8::V8::SetGlobalGCEpilogueCallback(), v8::V8::SetGlobalGCPrologueCallback(), v8::FunctionTemplate::SetHiddenPrototype(), v8::FunctionTemplate::SetIndexedInstancePropertyHandler(), v8::ObjectTemplate::SetIndexedPropertyHandler(), v8::FunctionTemplate::SetInstanceCallAsFunctionHandler(), v8::Object::SetInternalField(), v8::ObjectTemplate::SetInternalFieldCount(), v8::FunctionTemplate::SetNamedInstancePropertyHandler(), v8::ObjectTemplate::SetNamedPropertyHandler(), v8::Context::SetSecurityToken(), v8::Value::StrictEquals(), v8::Value::ToArrayIndex(), v8::Value::ToBoolean(), v8::Value::ToDetailString(), v8::Value::ToInt32(), v8::Value::ToInteger(), v8::Value::ToNumber(), v8::Value::ToObject(), v8::Value::ToString(), v8::Value::ToUint32(), v8::ImplementationUtilities::True(), v8::Value::Uint32Value(), v8::ImplementationUtilities::Undefined(), v8::Context::UseDefaultSecurityToken(), v8::String::Utf8Length(), v8::External::Value(), v8::Int32::Value(), v8::Integer::Value(), v8::Boolean::Value(), v8::Number::Value(), v8::String::Write(), v8::String::WriteAscii(), と v8::String::WriteUtf8().
i::Handle<i::String> v8::NewExternalAsciiStringHandle | ( | v8::String::ExternalAsciiStringResource * | resource | ) |
i::Handle<i::String> v8::NewExternalStringHandle | ( | v8::String::ExternalStringResource * | resource | ) |
void EXPORT v8::RegisterExtension | ( | Extension * | that | ) |
static bool v8::ReportEmptyHandle | ( | const char * | location | ) | [static] |
static bool v8::ReportV8Dead | ( | const char * | location | ) | [static] |
bool v8::SetResourceConstraints | ( | ResourceConstraints * | constraints | ) |
Schedules an exception to be thrown when returning to JavaScript. When an exception has been scheduled it is illegal to invoke any JavaScript operation; the caller must return immediately and only after the exception has been handled does it become legal to invoke JavaScript operations.
参照元 v8::Shell::Load().
static T* v8::ToApi | ( | v8::internal::Handle< v8::internal::Object > | obj | ) | [inline, static] |
static T v8::ToCData | ( | v8::internal::Object * | obj | ) | [inline, static] |
参照先 v8::internal::Proxy::cast(), STATIC_ASSERT, と T.
参照元 v8::Boolean::New().
static int v8::TwoByteStringLength | ( | const uint16_t * | data | ) | [static] |
参照元 v8::FunctionTemplate::AddInstancePropertyAccessor(), v8::internal::GCExtension::GC(), v8::Shell::Initialize(), v8::Shell::Load(), v8::FunctionTemplate::New(), v8::Arguments::operator[](), v8::Shell::Print(), v8::Shell::Quit(), v8::ObjectTemplate::SetAccessCheckCallbacks(), v8::FunctionTemplate::SetCallHandler(), v8::FunctionTemplate::SetIndexedInstancePropertyHandler(), v8::FunctionTemplate::SetInstanceCallAsFunctionHandler(), と v8::FunctionTemplate::SetNamedInstancePropertyHandler().
DumbLineEditor v8::dumb_line_editor [static] |
FatalErrorCallback v8::exception_behavior = NULL [static] |
bool v8::has_shut_down = false [static] |
int v8::next_serial_number = 0 [static] |
ReadLineEditor v8::read_line_editor [static] |
d8-readline.cc の 51 行で定義されています。
参照元 v8::internal::HandleScopeImplementer::ArchiveSpacePerThread(), v8::internal::HandleScopeImplementer::ArchiveThread(), v8::HandleScope::CreateHandle(), v8::HandleScope::DeleteExtensions(), v8::Context::Enter(), v8::Context::Exit(), v8::Context::GetEntered(), v8::V8::IgnoreOutOfMemoryException(), v8::internal::HandleScopeImplementer::instance(), v8::HandleScope::NumberOfHandles(), と v8::internal::HandleScopeImplementer::RestoreThread().
internal::Thread::CreateThreadLocalKey()
v8threads.cc の 37 行で定義されています。
参照元 v8::internal::ThreadManager::ArchiveThread(), と v8::internal::ThreadManager::RestoreThread().