ネームスペース |
namespace | internal |
構成 |
class | Consts |
class | NeanderObject |
class | NeanderArray |
class | RegisteredExtension |
class | ImplementationUtilities |
class | Utils |
class | ReadLineEditor |
class | DumbLineEditor |
class | Counter |
class | Shell |
class | LineEditor |
class | Debug |
class | Handle |
class | Local |
class | Persistent |
class | HandleScope |
class | Data |
class | ScriptData |
class | ScriptOrigin |
class | Script |
class | Message |
class | Value |
class | Primitive |
class | Boolean |
class | String |
class | Number |
class | Integer |
class | Int32 |
class | Uint32 |
class | Date |
class | Object |
class | Array |
class | Function |
class | External |
class | Template |
class | Arguments |
class | AccessorInfo |
class | FunctionTemplate |
class | ObjectTemplate |
class | Signature |
class | TypeSwitch |
class | Extension |
class | DeclareExtension |
class | ResourceConstraints |
class | Exception |
class | V8 |
class | TryCatch |
class | ExtensionConfiguration |
class | Context |
class | Unlocker |
class | Locker |
型定義 |
typedef void(* | DebugEventCallback )(DebugEvent event, Handle< Object > exec_state, Handle< Object > event_data, Handle< Value > data) |
typedef void(* | DebugMessageHandler )(const uint16_t *message, int length, void *data) |
typedef void(* | WeakReferenceCallback )(Persistent< Value > object, void *parameter) |
typedef Handle< Value >(* | InvocationCallback )(const Arguments &args) |
typedef int(* | LookupCallback )(Local< Object > self, Local< String > name) |
typedef Handle< Value >(* | AccessorGetter )(Local< String > property, const AccessorInfo &info) |
typedef void(* | AccessorSetter )(Local< String > property, Local< Value > value, const AccessorInfo &info) |
typedef Handle< Value >(* | NamedPropertyGetter )(Local< String > property, const AccessorInfo &info) |
typedef Handle< Value >(* | NamedPropertySetter )(Local< String > property, Local< Value > value, const AccessorInfo &info) |
typedef Handle< Boolean >(* | NamedPropertyQuery )(Local< String > property, const AccessorInfo &info) |
typedef Handle< Boolean >(* | NamedPropertyDeleter )(Local< String > property, const AccessorInfo &info) |
typedef Handle< Array >(* | NamedPropertyEnumerator )(const AccessorInfo &info) |
typedef Handle< Value >(* | IndexedPropertyGetter )(uint32_t index, const AccessorInfo &info) |
typedef Handle< Value >(* | IndexedPropertySetter )(uint32_t index, Local< Value > value, const AccessorInfo &info) |
typedef Handle< Boolean >(* | IndexedPropertyQuery )(uint32_t index, const AccessorInfo &info) |
typedef Handle< Boolean >(* | IndexedPropertyDeleter )(uint32_t index, const AccessorInfo &info) |
typedef Handle< Array >(* | IndexedPropertyEnumerator )(const AccessorInfo &info) |
typedef bool(* | NamedSecurityCallback )(Local< Object > global, Local< Value > key, AccessType type, Local< Value > data) |
typedef bool(* | IndexedSecurityCallback )(Local< Object > global, uint32_t index, AccessType type, Local< Value > data) |
typedef void(* | FatalErrorCallback )(const char *location, const char *message) |
typedef void(* | MessageCallback )(Handle< Message > message, Handle< Value > data) |
typedef int *(* | CounterLookupCallback )(const wchar_t *name) |
typedef void(* | FailedAccessCheckCallback )(Local< Object > target, AccessType type, Local< Value > data) |
typedef void(* | GCCallback )() |
typedef Persistent< Context >(* | ContextGenerator )() |
列挙型 |
enum | ExtensionTraversalState { UNVISITED,
VISITED,
INSTALLED
} |
enum | DebugEvent {
Break = 1,
Exception = 2,
NewFunction = 3,
BeforeCompile = 4,
AfterCompile = 5
} |
enum | PropertyAttribute { None = 0,
ReadOnly = 1 << 0,
DontEnum = 1 << 1,
DontDelete = 1 << 2
} |
enum | AccessControl { DEFAULT = 0,
ALL_CAN_READ = 1,
ALL_CAN_WRITE = 2
} |
enum | AccessType {
ACCESS_GET,
ACCESS_SET,
ACCESS_HAS,
ACCESS_DELETE,
ACCESS_KEYS
} |
関数 |
static void | DefaultFatalErrorHandler (const char *location, const char *message) |
static FatalErrorCallback & | GetFatalErrorHandler () |
static bool | ApiCheck (bool condition, const char *location, const char *message) |
static bool | ReportV8Dead (const char *location) |
static bool | ReportEmptyHandle (const char *location) |
static bool | IsDeadCheck (const char *location) |
static bool | EmptyCheck (const char *location, v8::Handle< v8::Data > obj) |
static bool | EmptyCheck (const char *location, v8::Data *obj) |
static void | EnsureInitialized (const char *location) |
v8::Handle< Value > | ThrowException (v8::Handle< v8::Value > value) |
void | RegisterExtension (Extension *that) |
v8::Handle< Primitive > | Undefined () |
v8::Handle< Primitive > | Null () |
v8::Handle< Boolean > | True () |
v8::Handle< Boolean > | False () |
bool | SetResourceConstraints (ResourceConstraints *constraints) |
static void | InitializeTemplate (i::Handle< i::TemplateInfo > that, int type) |
static void | InitializeFunctionTemplate (i::Handle< i::FunctionTemplateInfo > info) |
static void | EnsureConstructor (ObjectTemplate *object_template) |
static i::Handle< i::Object > | CallV8HeapFunction (const char *name, i::Handle< i::Object > recv, int argc, i::Object **argv[], bool *has_pending_exception) |
static i::Handle< i::Object > | CallV8HeapFunction (const char *name, i::Handle< i::Object > data, bool *has_pending_exception) |
static i::Handle
< i::FunctionTemplateInfo > | EnsureConstructor (i::Handle< i::ObjectTemplateInfo > templ) |
static int | TwoByteStringLength (const uint16_t *data) |
i::Handle< i::String > | NewExternalStringHandle (v8::String::ExternalStringResource *resource) |
i::Handle< i::String > | NewExternalAsciiStringHandle (v8::String::ExternalAsciiStringResource *resource) |
static void | DisposeExternalString (v8::Persistent< v8::Value > obj, void *parameter) |
static void | DisposeExternalAsciiString (v8::Persistent< v8::Value > obj, void *parameter) |
template<typename T > |
static T | ToCData (v8::internal::Object *obj) |
template<typename T > |
static v8::internal::Handle
< v8::internal::Object > | FromCData (T obj) |
template<class T > |
static T * | ToApi (v8::internal::Handle< v8::internal::Object > obj) |
変数 |
static i::HandleScopeImplementer | thread_local |
static bool | has_shut_down = false |
static FatalErrorCallback | exception_behavior = NULL |
static i::StringInputBuffer | write_input_buffer |
static int | next_serial_number = 0 |
static ReadLineEditor | read_line_editor |
static DumbLineEditor | dumb_line_editor |
static
internal::Thread::LocalStorageKey | thread_state_key |
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.
api.cc の 167 行で定義されています。
参照先 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().