V8 Project
v8::Utils Class Reference

#include <api.h>

+ Collaboration diagram for v8::Utils:

Static Public Member Functions

static bool ApiCheck (bool condition, const char *location, const char *message)
 
static Local< FunctionTemplateToFunctionTemplate (NeanderObject obj)
 
static Local< ObjectTemplateToObjectTemplate (NeanderObject obj)
 
static Local< ContextToLocal (v8::internal::Handle< v8::internal::Context > obj)
 
static Local< ValueToLocal (v8::internal::Handle< v8::internal::Object > obj)
 
static Local< FunctionToLocal (v8::internal::Handle< v8::internal::JSFunction > obj)
 
static Local< NameToLocal (v8::internal::Handle< v8::internal::Name > obj)
 
static Local< StringToLocal (v8::internal::Handle< v8::internal::String > obj)
 
static Local< SymbolToLocal (v8::internal::Handle< v8::internal::Symbol > obj)
 
static Local< RegExpToLocal (v8::internal::Handle< v8::internal::JSRegExp > obj)
 
static Local< ObjectToLocal (v8::internal::Handle< v8::internal::JSObject > obj)
 
static Local< ArrayToLocal (v8::internal::Handle< v8::internal::JSArray > obj)
 
static Local< ArrayBufferToLocal (v8::internal::Handle< v8::internal::JSArrayBuffer > obj)
 
static Local< ArrayBufferViewToLocal (v8::internal::Handle< v8::internal::JSArrayBufferView > obj)
 
static Local< DataViewToLocal (v8::internal::Handle< v8::internal::JSDataView > obj)
 
static Local< TypedArrayToLocal (v8::internal::Handle< v8::internal::JSTypedArray > obj)
 
static Local< Uint8ArrayToLocalUint8Array (v8::internal::Handle< v8::internal::JSTypedArray > obj)
 
static Local< Uint8ClampedArrayToLocalUint8ClampedArray (v8::internal::Handle< v8::internal::JSTypedArray > obj)
 
static Local< Int8ArrayToLocalInt8Array (v8::internal::Handle< v8::internal::JSTypedArray > obj)
 
static Local< Uint16ArrayToLocalUint16Array (v8::internal::Handle< v8::internal::JSTypedArray > obj)
 
static Local< Int16ArrayToLocalInt16Array (v8::internal::Handle< v8::internal::JSTypedArray > obj)
 
static Local< Uint32ArrayToLocalUint32Array (v8::internal::Handle< v8::internal::JSTypedArray > obj)
 
static Local< Int32ArrayToLocalInt32Array (v8::internal::Handle< v8::internal::JSTypedArray > obj)
 
static Local< Float32ArrayToLocalFloat32Array (v8::internal::Handle< v8::internal::JSTypedArray > obj)
 
static Local< Float64ArrayToLocalFloat64Array (v8::internal::Handle< v8::internal::JSTypedArray > obj)
 
static Local< MessageMessageToLocal (v8::internal::Handle< v8::internal::Object > obj)
 
static Local< StackTraceStackTraceToLocal (v8::internal::Handle< v8::internal::JSArray > obj)
 
static Local< StackFrameStackFrameToLocal (v8::internal::Handle< v8::internal::JSObject > obj)
 
static Local< NumberNumberToLocal (v8::internal::Handle< v8::internal::Object > obj)
 
static Local< IntegerIntegerToLocal (v8::internal::Handle< v8::internal::Object > obj)
 
static Local< Uint32Uint32ToLocal (v8::internal::Handle< v8::internal::Object > obj)
 
static Local< FunctionTemplateToLocal (v8::internal::Handle< v8::internal::FunctionTemplateInfo > obj)
 
static Local< ObjectTemplateToLocal (v8::internal::Handle< v8::internal::ObjectTemplateInfo > obj)
 
static Local< SignatureToLocal (v8::internal::Handle< v8::internal::SignatureInfo > obj)
 
static Local< AccessorSignatureAccessorSignatureToLocal (v8::internal::Handle< v8::internal::FunctionTemplateInfo > obj)
 
static Local< TypeSwitchToLocal (v8::internal::Handle< v8::internal::TypeSwitchInfo > obj)
 
static Local< ExternalExternalToLocal (v8::internal::Handle< v8::internal::JSObject > obj)
 
static Local< DeclaredAccessorDescriptorToLocal (v8::internal::Handle< v8::internal::DeclaredAccessorDescriptor > obj)
 
template<class From , class To >
static Local< To > Convert (v8::internal::Handle< From > obj)
 
template<class T >
static v8::internal::Handle< v8::internal::ObjectOpenPersistent (const v8::Persistent< T > &persistent)
 
template<class T >
static v8::internal::Handle< v8::internal::ObjectOpenPersistent (v8::Persistent< T > *persistent)
 
template<class From , class To >
static v8::internal::Handle< To > OpenHandle (v8::Local< From > handle)
 

Static Private Member Functions

static void ReportApiFailure (const char *location, const char *message)
 

Detailed Description

Definition at line 175 of file api.h.

Member Function Documentation

◆ AccessorSignatureToLocal()

static Local<AccessorSignature> v8::Utils::AccessorSignatureToLocal ( v8::internal::Handle< v8::internal::FunctionTemplateInfo obj)
inlinestatic

Referenced by v8::AccessorSignature::New().

+ Here is the caller graph for this function:

◆ ApiCheck()

static bool v8::Utils::ApiCheck ( bool  condition,
const char *  location,
const char *  message 
)
inlinestatic

Definition at line 177 of file api.h.

179  {
180  if (!condition) Utils::ReportApiFailure(location, message);
181  return condition;
182  }
static void ReportApiFailure(const char *location, const char *message)
Definition: api.cc:175

References ReportApiFailure().

Referenced by v8::Name::CheckCast(), v8::String::CheckCast(), v8::Symbol::CheckCast(), v8::Number::CheckCast(), v8::Integer::CheckCast(), v8::Date::CheckCast(), v8::NumberObject::CheckCast(), v8::BooleanObject::CheckCast(), v8::StringObject::CheckCast(), v8::SymbolObject::CheckCast(), v8::RegExp::CheckCast(), v8::External::CheckCast(), v8::Object::CheckCast(), v8::Array::CheckCast(), v8::Function::CheckCast(), v8::Promise::Resolver::CheckCast(), v8::Promise::CheckCast(), v8::ArrayBuffer::CheckCast(), v8::ArrayBufferView::CheckCast(), v8::TypedArray::CheckCast(), v8::DataView::CheckCast(), v8::DecodeSmiToAligned(), v8::Isolate::Dispose(), v8::EmbedderDataFor(), v8::EncodeAlignedAsSmi(), v8::Value::Equals(), v8::EscapableHandleScope::Escape(), v8::Context::Exit(), v8::internal::HandleScope::Extend(), v8::ArrayBuffer::Externalize(), v8::HandleScope::Initialize(), v8::FunctionTemplate::InstanceTemplate(), v8::InternalFieldOK(), v8::ArrayBuffer::Neuter(), v8::Value::SameValue(), v8::HeapSnapshot::Serialize(), v8::V8::SetArrayBufferAllocator(), v8::Object::SetIndexedPropertiesToExternalArrayData(), v8::Object::SetIndexedPropertiesToPixelData(), v8::ObjectTemplate::SetInternalFieldCount(), and v8::Value::StrictEquals().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Convert()

template<class From , class To >
static Local<To> v8::Utils::Convert ( v8::internal::Handle< From >  obj)
inlinestatic

Definition at line 269 of file api.h.

269  {
270  DCHECK(obj.is_null() || !obj->IsTheHole());
271  return Local<To>(reinterpret_cast<To*>(obj.location()));
272  }
bool is_null() const
Definition: handles.h:124
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK, and v8::internal::Handle< T >::is_null().

+ Here is the call graph for this function:

◆ ExternalToLocal()

static Local<External> v8::Utils::ExternalToLocal ( v8::internal::Handle< v8::internal::JSObject obj)
inlinestatic

Referenced by v8::External::New().

+ Here is the caller graph for this function:

◆ IntegerToLocal()

static Local<Integer> v8::Utils::IntegerToLocal ( v8::internal::Handle< v8::internal::Object obj)
inlinestatic

Referenced by v8::Integer::New(), and v8::Integer::NewFromUnsigned().

+ Here is the caller graph for this function:

◆ MessageToLocal()

static Local<Message> v8::Utils::MessageToLocal ( v8::internal::Handle< v8::internal::Object obj)
inlinestatic

Referenced by v8::TryCatch::Message(), and v8::internal::MessageHandler::ReportMessage().

+ Here is the caller graph for this function:

◆ NumberToLocal()

static Local<Number> v8::Utils::NumberToLocal ( v8::internal::Handle< v8::internal::Object obj)
inlinestatic

Referenced by v8::Number::New().

+ Here is the caller graph for this function:

◆ OpenHandle()

template<class From , class To >
static v8::internal::Handle<To> v8::Utils::OpenHandle ( v8::Local< From >  handle)
inlinestatic

Definition at line 288 of file api.h.

288  {
289  return OpenHandle(*handle);
290  }
static v8::internal::Handle< To > OpenHandle(v8::Local< From > handle)
Definition: api.h:288
Handle< T > handle(T *t, Isolate *isolate)
Definition: handles.h:146

References v8::internal::handle().

Referenced by v8::V8::AddMessageListener(), v8::Context::AllowCodeGenerationFromStrings(), v8::StackTrace::AsArray(), v8::UnboundScript::BindToCurrentContext(), v8::Value::BooleanValue(), v8::ArrayBufferView::Buffer(), v8::ArrayBufferView::ByteLength(), v8::ArrayBuffer::ByteLength(), v8::ArrayBufferView::ByteOffset(), v8::Function::Call(), v8::Debug::Call(), v8::Object::CallAsConstructor(), v8::Object::CallAsFunction(), v8::String::CanMakeExternal(), v8::Promise::Catch(), v8::Promise::Chain(), v8::Name::CheckCast(), v8::String::CheckCast(), v8::Symbol::CheckCast(), v8::Number::CheckCast(), v8::Integer::CheckCast(), v8::Date::CheckCast(), v8::NumberObject::CheckCast(), v8::BooleanObject::CheckCast(), v8::StringObject::CheckCast(), v8::SymbolObject::CheckCast(), v8::RegExp::CheckCast(), v8::External::CheckCast(), v8::Object::CheckCast(), v8::Array::CheckCast(), v8::Function::CheckCast(), v8::ArrayBuffer::CheckCast(), v8::ArrayBufferView::CheckCast(), v8::TypedArray::CheckCast(), v8::DataView::CheckCast(), v8::Object::Clone(), v8::Array::CloneElementAt(), v8::Script::Compile(), v8::ScriptCompiler::Compile(), v8::ScriptCompiler::CompileUnbound(), v8::String::Concat(), v8::String::ContainsOnlyOneByte(), v8::CreateEnvironment(), v8::Object::CreationContext(), v8::Object::Delete(), v8::internal::JSObject::DeleteElementWithInterceptor(), v8::Object::DeleteHiddenValue(), v8::internal::JSObject::DeletePropertyWithInterceptor(), v8::Context::DetachGlobal(), v8::EmbedderDataFor(), v8::Isolate::EnqueueMicrotask(), v8::EnsureConstructor(), v8::Context::Enter(), v8::Value::Equals(), v8::internal::Handle< T >::EscapeFrom(), v8::V8::Eternalize(), v8::Context::Exit(), v8::ArrayBuffer::Externalize(), v8::internal::ExternalizeStringExtension::Externalize(), v8::Object::FindInstanceInPrototypeChain(), v8::Symbol::For(), v8::Symbol::ForApi(), v8::Private::ForApi(), v8::Object::ForceDelete(), v8::Object::ForceSet(), v8::Value::FullIsNull(), v8::Value::FullIsString(), v8::Value::FullIsUndefined(), v8::FunctionTemplateNew(), v8::Message::Get(), v8::Object::Get(), v8::getBoolProperty(), v8::Function::GetBoundFunction(), v8::Object::GetConstructorName(), v8::Function::GetDisplayName(), v8::internal::JSObject::GetElementWithCallback(), v8::internal::JSObject::GetElementWithInterceptor(), v8::Message::GetEndColumn(), v8::Message::GetEndPosition(), v8::internal::anonymous_namespace{i18n.cc}::GetEternal(), v8::String::GetExternalOneByteStringResource(), v8::RegExp::GetFlags(), v8::StackTrace::GetFrame(), v8::StackTrace::GetFrameCount(), v8::FunctionTemplate::GetFunction(), v8::Object::GetHiddenValue(), v8::UnboundScript::GetId(), v8::Object::GetIdentityHash(), v8::Object::GetIndexedPropertiesExternalArrayData(), v8::Object::GetIndexedPropertiesExternalArrayDataLength(), v8::Object::GetIndexedPropertiesExternalArrayDataType(), v8::Object::GetIndexedPropertiesPixelData(), v8::Object::GetIndexedPropertiesPixelDataLength(), v8::Function::GetInferredName(), v8::getIntProperty(), v8::Context::GetIsolate(), v8::internal::JSObject::GetKeysForIndexedInterceptor(), v8::internal::JSObject::GetKeysForNamedInterceptor(), v8::Message::GetLineNumber(), v8::UnboundScript::GetLineNumber(), v8::Function::GetName(), v8::HeapProfiler::GetObjectId(), v8::Object::GetOwnPropertyDescriptor(), v8::Object::GetOwnPropertyNames(), v8::Promise::Resolver::GetPromise(), v8::Object::GetPropertyAttributes(), v8::Object::GetPropertyNames(), v8::internal::Object::GetPropertyWithAccessor(), v8::internal::JSObject::GetPropertyWithInterceptor(), v8::Object::GetPrototype(), v8::Object::GetRealNamedProperty(), v8::Object::GetRealNamedPropertyInPrototypeChain(), v8::Function::GetScriptColumnNumber(), v8::Function::GetScriptLineNumber(), v8::UnboundScript::GetScriptName(), v8::Message::GetScriptOrigin(), v8::Function::GetScriptOrigin(), v8::Context::GetSecurityToken(), v8::RegExp::GetSource(), v8::Message::GetSourceLine(), v8::UnboundScript::GetSourceMappingURL(), v8::UnboundScript::GetSourceURL(), v8::Message::GetStackTrace(), v8::Message::GetStartColumn(), v8::Message::GetStartPosition(), v8::getStringProperty(), v8::GetTemplateInfo(), v8::Script::GetUnboundScript(), v8::GetWellKnownSymbol(), v8::Context::Global(), v8::internal::ScriptCache::HandleWeakScript(), v8::Object::Has(), v8::Object::HasIndexedLookupInterceptor(), v8::Object::HasIndexedPropertiesInExternalArrayData(), v8::Object::HasIndexedPropertiesInPixelData(), v8::FunctionTemplate::HasInstance(), v8::Object::HasNamedLookupInterceptor(), v8::Object::HasOwnProperty(), v8::Object::HasRealIndexedProperty(), v8::Object::HasRealNamedCallbackProperty(), v8::Object::HasRealNamedProperty(), v8::FunctionTemplate::Inherit(), v8::Shell::InstallUtilityScript(), v8::FunctionTemplate::InstanceTemplate(), v8::internal::InstantiateAccessorComponent(), v8::Value::Int32Value(), v8::Value::IntegerValue(), v8::Object::InternalFieldCount(), v8::ObjectTemplate::InternalFieldCount(), v8::Value::IsArray(), v8::Value::IsArrayBuffer(), v8::Value::IsArrayBufferView(), v8::Value::IsBoolean(), v8::Function::IsBuiltin(), v8::Object::IsCallable(), v8::Context::IsCodeGenerationFromStringsAllowed(), v8::Value::IsDataView(), v8::Object::IsDirty(), v8::Value::IsExternal(), v8::String::IsExternal(), v8::ArrayBuffer::IsExternal(), v8::String::IsExternalOneByte(), v8::Value::IsFalse(), v8::Value::IsFunction(), v8::Value::IsGeneratorFunction(), v8::Value::IsGeneratorObject(), v8::Value::IsInt32(), v8::Value::IsName(), v8::Value::IsNativeError(), v8::Value::IsNumber(), v8::Value::IsObject(), v8::String::IsOneByte(), v8::internal::ExternalizeStringExtension::IsOneByte(), v8::Value::IsPromise(), v8::Value::IsRegExp(), v8::Message::IsSharedCrossOrigin(), v8::Value::IsSymbol(), v8::Value::IsTrue(), v8::Value::IsTypedArray(), v8::Value::IsUint32(), v8::TypedArray::Length(), v8::String::Length(), v8::Array::Length(), v8::MakeAccessorInfo(), v8::String::MakeExternal(), v8::ObjectTemplate::MarkAsUndetectable(), v8::TypeSwitch::match(), v8::internal::ModuleGetExport(), v8::internal::ModuleSetExport(), v8::Symbol::Name(), v8::ArrayBuffer::Neuter(), v8::DataView::New(), v8::RegExp::New(), v8::StringObject::New(), v8::TypeSwitch::New(), v8::ObjectTemplate::New(), v8::AccessorSignature::New(), v8::Signature::New(), v8::SymbolObject::New(), v8::Symbol::New(), v8::Private::New(), v8::NewDescriptor(), v8::ObjectTemplate::NewInstance(), v8::Function::NewInstance(), v8::NewTypedArray(), v8::Value::NumberValue(), v8::Object::ObjectProtoToString(), v8::ObjectSetAccessor(), v8::JSON::Parse(), v8::FunctionTemplate::PrototypeTemplate(), v8::FunctionTemplate::ReadOnlyPrototype(), v8::Promise::Resolver::Reject(), v8::FunctionTemplate::RemovePrototype(), v8::Promise::Resolver::Resolve(), v8::Script::Run(), v8::internal::RUNTIME_FUNCTION(), v8::Value::SameValue(), v8::Function::ScriptId(), v8::Object::Set(), v8::ObjectTemplate::SetAccessCheckCallbacks(), v8::SetAccessorInfoProperties(), v8::Object::SetAccessorProperty(), v8::Template::SetAccessorProperty(), v8::Object::SetAlignedPointerInInternalField(), v8::ObjectTemplate::SetCallAsFunctionHandler(), v8::FunctionTemplate::SetCallHandler(), v8::FunctionTemplate::SetClassName(), v8::Debug::SetDebugEventListener(), v8::Context::SetEmbedderData(), v8::Context::SetErrorMessageForCodeGenerationFromStrings(), v8::FunctionTemplate::SetHiddenPrototype(), v8::Object::SetHiddenValue(), v8::Object::SetIndexedPropertiesToExternalArrayData(), v8::Object::SetIndexedPropertiesToPixelData(), v8::ObjectTemplate::SetIndexedPropertyHandler(), v8::Object::SetInternalField(), v8::ObjectTemplate::SetInternalFieldCount(), v8::FunctionTemplate::SetLength(), v8::Function::SetName(), v8::ObjectTemplate::SetNamedPropertyHandler(), v8::internal::SetPropertyOnInstanceIfInherited(), v8::Object::SetPrototype(), v8::Context::SetSecurityToken(), v8::Object::SlowGetAlignedPointerFromInternalField(), v8::Object::SlowGetInternalField(), v8::CpuProfiler::StartProfiling(), v8::CpuProfiler::StopProfiling(), v8::Value::StrictEquals(), v8::HeapProfiler::TakeHeapSnapshot(), v8::TemplateSet(), v8::TemplateSetAccessor(), v8::Promise::Then(), v8::Isolate::ThrowException(), 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::Object::TurnOnAccessCheck(), v8::Value::Uint32Value(), v8::Context::UseDefaultSecurityToken(), v8::String::Utf8Length(), v8::String::Utf8Value::Utf8Value(), v8::Boolean::Value(), v8::Number::Value(), v8::Integer::Value(), v8::Int32::Value(), v8::Uint32::Value(), v8::External::Value(), v8::Date::ValueOf(), v8::NumberObject::ValueOf(), v8::BooleanObject::ValueOf(), v8::StringObject::ValueOf(), v8::SymbolObject::ValueOf(), v8::String::VerifyExternalStringResource(), v8::String::VerifyExternalStringResourceBase(), v8::WriteHelper(), and v8::String::WriteUtf8().

+ Here is the call graph for this function:

◆ OpenPersistent() [1/2]

template<class T >
static v8::internal::Handle<v8::internal::Object> v8::Utils::OpenPersistent ( const v8::Persistent< T > &  persistent)
inlinestatic

Definition at line 275 of file api.h.

References v8::PersistentBase< T >::val_.

Referenced by main(), and OpenPersistent().

+ Here is the caller graph for this function:

◆ OpenPersistent() [2/2]

template<class T >
static v8::internal::Handle<v8::internal::Object> v8::Utils::OpenPersistent ( v8::Persistent< T > *  persistent)
inlinestatic

Definition at line 282 of file api.h.

283  {
284  return OpenPersistent(*persistent);
285  }
static v8::internal::Handle< v8::internal::Object > OpenPersistent(const v8::Persistent< T > &persistent)
Definition: api.h:275

References OpenPersistent().

+ Here is the call graph for this function:

◆ ReportApiFailure()

void v8::Utils::ReportApiFailure ( const char *  location,
const char *  message 
)
staticprivate

Definition at line 175 of file api.cc.

175  {
176  i::Isolate* isolate = i::Isolate::Current();
177  FatalErrorCallback callback = isolate->exception_behavior();
178  if (callback == NULL) {
179  base::OS::PrintError("\n#\n# Fatal error in %s\n# %s\n#\n\n", location,
180  message);
181  base::OS::Abort();
182  } else {
183  callback(location, message);
184  }
185  isolate->SignalFatalError();
186 }
static void Abort()
static void PrintError(const char *format,...)
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
void(* FatalErrorCallback)(const char *location, const char *message)
Definition: v8.h:4117

References v8::base::OS::Abort(), NULL, v8::base::OS::PrintError(), and v8::internal::Isolate::SignalFatalError().

Referenced by ApiCheck().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StackFrameToLocal()

static Local<StackFrame> v8::Utils::StackFrameToLocal ( v8::internal::Handle< v8::internal::JSObject obj)
inlinestatic

Referenced by v8::StackTrace::GetFrame().

+ Here is the caller graph for this function:

◆ StackTraceToLocal()

static Local<StackTrace> v8::Utils::StackTraceToLocal ( v8::internal::Handle< v8::internal::JSArray obj)
inlinestatic

Referenced by v8::StackTrace::CurrentStackTrace(), and v8::Message::GetStackTrace().

+ Here is the caller graph for this function:

◆ ToFunctionTemplate()

static Local<FunctionTemplate> v8::Utils::ToFunctionTemplate ( NeanderObject  obj)
static

◆ ToLocal() [1/18]

static Local<Context> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::Context obj)
inlinestatic

Referenced by v8::StackTrace::AsArray(), v8::ArrayBufferView::Buffer(), v8::Function::Call(), v8::Debug::Call(), v8::Object::CallAsConstructor(), v8::Object::CallAsFunction(), v8::Promise::Catch(), v8::Promise::Chain(), v8::Object::Clone(), v8::Array::CloneElementAt(), v8::internal::CodeGenerationFromStringsAllowed(), v8::String::Concat(), v8::Shell::CreateEvaluationContext(), v8::Object::CreationContext(), v8::internal::JSObject::DeletePropertyWithInterceptor(), v8::internal::Handle< T >::EscapeFrom(), v8::TryCatch::Exception(), v8::internal::HeapProfiler::ExecuteWrapperClassCallback(), v8::internal::anonymous_namespace{i18n.cc}::ExtractStringSetting(), v8::Object::FindInstanceInPrototypeChain(), v8::HeapProfiler::FindObjectById(), v8::Symbol::For(), v8::Symbol::ForApi(), v8::Private::ForApi(), v8::FunctionTemplateNew(), v8::Message::Get(), v8::Object::Get(), v8::Function::GetBoundFunction(), v8::internal::EventDetailsImpl::GetCallbackData(), v8::Isolate::GetCallingContext(), v8::Object::GetConstructorName(), v8::Isolate::GetCurrentContext(), v8::Debug::GetDebugContext(), v8::internal::GetDebugEventContext(), v8::Function::GetDisplayName(), v8::internal::JSObject::GetElementWithCallback(), v8::Isolate::GetEnteredContext(), v8::V8::GetEternal(), v8::internal::MessageImpl::GetEventData(), v8::internal::EventDetailsImpl::GetEventData(), v8::internal::MessageImpl::GetExecutionState(), v8::internal::EventDetailsImpl::GetExecutionState(), v8::FunctionTemplate::GetFunction(), v8::Object::GetHiddenValue(), v8::Function::GetInferredName(), v8::internal::MessageImpl::GetJSON(), v8::Debug::GetMirror(), v8::Function::GetName(), v8::Object::GetOwnPropertyDescriptor(), v8::Object::GetOwnPropertyNames(), v8::Promise::Resolver::GetPromise(), v8::internal::JSObject::GetPropertyAttributesWithInterceptor(), v8::GetPropertyByLookup(), v8::Object::GetPropertyNames(), v8::internal::Object::GetPropertyWithAccessor(), v8::internal::JSObject::GetPropertyWithInterceptor(), v8::Object::GetPrototype(), v8::UnboundScript::GetScriptName(), v8::Message::GetScriptOrigin(), v8::Function::GetScriptOrigin(), v8::Context::GetSecurityToken(), v8::RegExp::GetSource(), v8::Message::GetSourceLine(), v8::UnboundScript::GetSourceMappingURL(), v8::UnboundScript::GetSourceURL(), v8::getStringProperty(), v8::GetWellKnownSymbol(), v8::Context::Global(), v8::internal::BreakIterator::InitializeBreakIterator(), v8::internal::Collator::InitializeCollator(), v8::internal::DateFormat::InitializeDateTimeFormat(), v8::internal::NumberFormat::InitializeNumberFormat(), v8::Shell::InstallUtilityScript(), v8::FunctionTemplate::InstanceTemplate(), v8::internal::InstantiateAccessorComponent(), v8::internal::Isolate::MayIndexedAccess(), v8::internal::Isolate::MayNamedAccess(), v8::internal::ModuleGetExport(), v8::Symbol::Name(), v8::BooleanObject::New(), v8::DataView::New(), v8::RegExp::New(), v8::StringObject::New(), v8::TypeSwitch::New(), v8::ObjectTemplate::New(), v8::Object::New(), v8::Promise::Resolver::New(), v8::Date::New(), v8::NumberObject::New(), v8::Context::New(), v8::Signature::New(), v8::SymbolObject::New(), v8::Array::New(), v8::Symbol::New(), v8::Private::New(), v8::ArrayBuffer::New(), v8::String::NewExternal(), v8::ObjectTemplate::NewInstance(), v8::Function::NewInstance(), v8::anonymous_namespace{api.cc}::NewString(), v8::Object::ObjectProtoToString(), v8::JSON::Parse(), v8::internal::GlobalHandles::Node::PostGarbageCollectionProcessing(), v8::internal::Isolate::ReportFailedAccessCheck(), v8::internal::MessageHandler::ReportMessage(), v8::Script::Run(), v8::internal::RUNTIME_FUNCTION(), v8::internal::JSObject::SetElementWithCallback(), v8::internal::JSObject::SetElementWithInterceptor(), v8::internal::Object::SetPropertyWithAccessor(), v8::internal::JSObject::SetPropertyWithInterceptor(), v8::Context::SlowGetEmbedderData(), v8::Object::SlowGetInternalField(), v8::TryCatch::StackTrace(), v8::internal::V8HeapExplorer::TagGlobalObjects(), v8::Promise::Then(), v8::StringObject::ValueOf(), v8::SymbolObject::ValueOf(), and v8::internal::Heap::VisitExternalResources().

◆ ToLocal() [2/18]

◆ ToLocal() [3/18]

static Local<FunctionTemplate> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::FunctionTemplateInfo obj)
inlinestatic

◆ ToLocal() [4/18]

static Local<Array> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::JSArray obj)
inlinestatic

◆ ToLocal() [5/18]

static Local<ArrayBuffer> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::JSArrayBuffer obj)
inlinestatic

◆ ToLocal() [6/18]

static Local<ArrayBufferView> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::JSArrayBufferView obj)
inlinestatic

◆ ToLocal() [7/18]

static Local<DataView> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::JSDataView obj)
inlinestatic

◆ ToLocal() [8/18]

static Local<Function> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::JSFunction obj)
inlinestatic

◆ ToLocal() [9/18]

static Local<Object> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::JSObject obj)
inlinestatic

◆ ToLocal() [10/18]

static Local<RegExp> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::JSRegExp obj)
inlinestatic

◆ ToLocal() [11/18]

static Local<TypedArray> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::JSTypedArray obj)
inlinestatic

◆ ToLocal() [12/18]

static Local<Name> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::Name obj)
inlinestatic

◆ ToLocal() [13/18]

static Local<Value> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::Object obj)
inlinestatic

◆ ToLocal() [14/18]

static Local<ObjectTemplate> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::ObjectTemplateInfo obj)
inlinestatic

◆ ToLocal() [15/18]

static Local<Signature> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::SignatureInfo obj)
inlinestatic

◆ ToLocal() [16/18]

static Local<String> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::String obj)
inlinestatic

◆ ToLocal() [17/18]

static Local<Symbol> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::Symbol obj)
inlinestatic

◆ ToLocal() [18/18]

static Local<TypeSwitch> v8::Utils::ToLocal ( v8::internal::Handle< v8::internal::TypeSwitchInfo obj)
inlinestatic

◆ ToLocalFloat32Array()

static Local<Float32Array> v8::Utils::ToLocalFloat32Array ( v8::internal::Handle< v8::internal::JSTypedArray obj)
inlinestatic

◆ ToLocalFloat64Array()

static Local<Float64Array> v8::Utils::ToLocalFloat64Array ( v8::internal::Handle< v8::internal::JSTypedArray obj)
inlinestatic

◆ ToLocalInt16Array()

static Local<Int16Array> v8::Utils::ToLocalInt16Array ( v8::internal::Handle< v8::internal::JSTypedArray obj)
inlinestatic

◆ ToLocalInt32Array()

static Local<Int32Array> v8::Utils::ToLocalInt32Array ( v8::internal::Handle< v8::internal::JSTypedArray obj)
inlinestatic

◆ ToLocalInt8Array()

static Local<Int8Array> v8::Utils::ToLocalInt8Array ( v8::internal::Handle< v8::internal::JSTypedArray obj)
inlinestatic

◆ ToLocalUint16Array()

static Local<Uint16Array> v8::Utils::ToLocalUint16Array ( v8::internal::Handle< v8::internal::JSTypedArray obj)
inlinestatic

◆ ToLocalUint32Array()

static Local<Uint32Array> v8::Utils::ToLocalUint32Array ( v8::internal::Handle< v8::internal::JSTypedArray obj)
inlinestatic

◆ ToLocalUint8Array()

static Local<Uint8Array> v8::Utils::ToLocalUint8Array ( v8::internal::Handle< v8::internal::JSTypedArray obj)
inlinestatic

◆ ToLocalUint8ClampedArray()

static Local<Uint8ClampedArray> v8::Utils::ToLocalUint8ClampedArray ( v8::internal::Handle< v8::internal::JSTypedArray obj)
inlinestatic

◆ ToObjectTemplate()

static Local<ObjectTemplate> v8::Utils::ToObjectTemplate ( NeanderObject  obj)
static

◆ Uint32ToLocal()

static Local<Uint32> v8::Utils::Uint32ToLocal ( v8::internal::Handle< v8::internal::Object obj)
inlinestatic

Referenced by v8::Value::ToArrayIndex().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: