v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Handle< T > Class Template Reference

#include <handles.h>

Public Member Functions

 INLINE (explicit Handle(T **location))
 
 INLINE (explicit Handle(T *obj))
 
 INLINE (Handle(T *obj, Isolate *isolate))
 
 INLINE (Handle())
 
template<class S >
 Handle (Handle< S > handle)
 
 INLINE (T *operator->() const)
 
 INLINE (bool is_identical_to(const Handle< T > other) const)
 
 INLINE (T *operator*() const)
 
 INLINE (T **location() const)
 
bool is_null () const
 
Handle< TEscapeFrom (v8::EscapableHandleScope *scope)
 

Static Public Member Functions

template<class S >
static Handle< Tcast (Handle< S > that)
 
static Handle< Tnull ()
 

Friends

template<class S >
class Handle
 

Detailed Description

template<typename T>
class v8::internal::Handle< T >

Definition at line 44 of file handles.h.

Constructor & Destructor Documentation

Handle ( Handle< S handle)
inline

Definition at line 54 of file handles.h.

Member Function Documentation

static Handle<T> cast ( Handle< S that)
inlinestatic

Definition at line 75 of file handles.h.

Referenced by v8::internal::ArrayConstructInitializeElements(), V8_FINAL< kOperandKind, kNumCachedOperands >::AsPropertyName(), RegExpCompiler::Assemble(), TypeFeedbackOracle::BinaryType(), UnboundScript::BindToCurrentContext(), v8::internal::BUILTIN(), Execution::Call(), Object::CallAsConstructor(), Object::CallAsFunction(), V8_FINAL< kOperandKind, kNumCachedOperands >::cast(), TypeFeedbackOracle::CollectReceiverTypes(), TypeFeedbackOracle::CompareType(), LoadIC::CompileHandler(), StoreIC::CompileHandler(), FastSmiOrObjectElementsAccessor< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >::CopyElementsImpl(), TypeFeedbackOracle::CountType(), Factory::CreateApiFunction(), Runtime::CreateArrayLiteralBoilerplate(), Date::DateTimeConfigurationChangeNotification(), FastElementsAccessor< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS >, kPointerSize >::DeleteCommon(), Runtime::DeleteObjectProperty(), Factory::EmergencyNewError(), JSObject::EnsureCanContainElements(), Symbol::For(), Symbol::ForApi(), Private::ForApi(), Runtime::ForceSetObjectProperty(), FormatMessage(), DependentCode::ForObject(), HeapTypeConfig::from_class(), HeapTypeConfig::from_constant(), HeapTypeConfig::from_union(), MaterializedObjectStore::Get(), NormalizedMapCache::Get(), JSTypedArray::GetBuffer(), TypeFeedbackOracle::GetCallNewAllocationSite(), TypeFeedbackOracle::GetCallNewTarget(), TypeFeedbackOracle::GetCallTarget(), Runtime::GetElementOrCharAt(), Object::GetElementWithReceiver(), Message::GetEndColumn(), Message::GetEndPosition(), String::GetExternalAsciiStringResource(), StackTrace::GetFrame(), UnboundScript::GetId(), Object::GetIdentityHash(), UnboundScript::GetLineNumber(), MessageHandler::GetMessage(), Object::GetPropertyAttributes(), JSObject::GetPropertyAttributeWithFailedAccessCheck(), JSObject::GetPropertyWithCallback(), JSObject::GetPropertyWithInterceptor(), UnboundScript::GetScriptName(), v8::internal::GetScriptNameOrSourceURL(), Message::GetScriptResourceName(), v8::internal::GetScriptWrapper(), Message::GetStackTrace(), Execution::GetStackTraceLine(), Message::GetStartPosition(), TypeFeedbackOracle::GetStoreMode(), JSReceiver::HasElement(), JSReceiver::HasLocalElement(), JSReceiver::HasLocalProperty(), V8_FINAL< kOperandKind, kNumCachedOperands >::HasMap(), JSReceiver::HasProperty(), DependentCode::Insert(), Execution::InstantiateFunction(), Execution::InstantiateObject(), Value::IsPromise(), Message::IsSharedCrossOrigin(), LoadIC::Load(), KeyedLoadIC::Load(), TypeFeedbackOracle::LoadIsStub(), TypeFeedbackOracle::LoadIsUninitialized(), CompilationCacheScript::Lookup(), MessageHandler::MakeMessageObject(), Deoptimizer::MaterializeHeapObjects(), Bootstrapper::NativesSourceLookup(), Signature::New(), TypeSwitch::New(), Factory::NewAliasedArgumentsEntry(), Factory::NewConsString(), Factory::NewDeclaredAccessorDescriptor(), Factory::NewDeclaredAccessorInfo(), Factory::NewError(), Factory::NewExecutableAccessorInfo(), Execution::NewJSRegExp(), Factory::NewProperSubString(), Factory::NewScript(), Object::ObjectProtoToString(), Script::Run(), SetFunctionEntryHookTest::RunLoopInNewEnv(), v8::internal::RUNTIME_FUNCTION(), ObjectTemplate::SetAccessCheckCallbacks(), ObjectTemplate::SetCallAsFunctionHandler(), FunctionTemplate::SetCallHandler(), JSObject::SetFastDoubleElementsCapacityAndLength(), JSObject::SetFastElement(), JSObject::SetFastElementsCapacityAndLength(), ObjectTemplate::SetIndexedPropertyHandler(), ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >::SetLengthImpl(), FastElementsAccessor< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS >, kPointerSize >::SetLengthWithoutNormalize(), ObjectTemplate::SetNamedPropertyHandler(), Runtime::SetObjectProperty(), JSObject::SetPropertyForResult(), JSObject::SetPropertyWithCallback(), JSObject::SetPropertyWithInterceptor(), V8_FINAL< kOperandKind, kNumCachedOperands >::SetTransition(), Isolate::StackOverflow(), StoreIC::Store(), KeyedStoreIC::Store(), TypeFeedbackOracle::StoreIsKeyedPolymorphic(), TypeFeedbackOracle::StoreIsUninitialized(), V8_FINAL< kOperandKind, kNumCachedOperands >::StringValue(), TEST(), TestParserSyncWithFlags(), THREADED_TEST(), Value::ToArrayIndex(), TypeFeedbackOracle::ToBooleanTypes(), Object::ToSmi(), ReplacementStringBuilder::ToString(), V8_FINAL< kOperandKind, kNumCachedOperands >::transition_map(), v8::internal::TransitionElements(), JSObject::TransitionElementsKind(), Date::ValueOf(), NumberObject::ValueOf(), BooleanObject::ValueOf(), StringObject::ValueOf(), and SymbolObject::ValueOf().

v8::internal::Handle< T > EscapeFrom ( v8::EscapableHandleScope scope)
inline

Definition at line 318 of file api.h.

References EscapableHandleScope::Escape(), v8::internal::handle(), Utils::OpenHandle(), and Utils::ToLocal().

Referenced by TEST().

INLINE ( explicit   HandleT **location)
inline

Definition at line 46 of file handles.h.

INLINE ( explicit   HandleT *obj)
INLINE ( Handle< T >(T *obj, Isolate *isolate)  )
INLINE ( Handle< T >()  )
inline

Definition at line 50 of file handles.h.

INLINE ( T *operator->()  const)
inline

Definition at line 64 of file handles.h.

INLINE ( bool is_identical_to(const Handle< T > other)  const)
INLINE ( T *operator*()  const)
INLINE ( T **location()  const)
bool is_null ( ) const
inline

Definition at line 81 of file handles.h.

Referenced by BASE_EMBEDDED< Visitor >::Add(), V8_FINAL< kOperandKind, kNumCachedOperands >::AddMapIfMissing(), v8::internal::BUILTIN(), Object::Clone(), Array::CloneElementAt(), TypeFeedbackOracle::CompareType(), RegExpImpl::Compile(), Compiler::CompileScript(), KeyedStoreStubCompiler::CompileStoreElementPolymorphic(), ScriptCompiler::CompileUnbound(), StubCache::ComputeCompareNil(), IC::ComputeHandler(), StubCache::ComputeLoadNonexistent(), StubCache::ComputeMonomorphicIC(), String::Concat(), Utils::Convert(), DeclaredAccessorDescriptor::Create(), JSObject::DeepWalk(), Object::Delete(), Isolate::DoThrow(), JSObject::EnqueueChangeRecord(), Compiler::EnsureCompiled(), AllocationSiteCreationContext::EnterNewScope(), AllocationSiteCreationContext::ExitScope(), HeapProfiler::FindObjectById(), Map::FindTransitionedMap(), Object::ForceDelete(), Object::ForceSet(), JSObject::Freeze(), OptimizedCompileJob::GenerateCode(), Object::Get(), Isolate::GetCallingContext(), Compiler::GetCodeForDebugging(), Isolate::GetEnteredContext(), v8::internal::GetEnumPropertyKeys(), Compiler::GetFunctionFromEval(), CpuProfileNode::GetFunctionName(), Compiler::GetOptimizedCode(), ParserTraits::GetSymbol(), CompareNilICStub::GetType(), Compiler::GetUnoptimizedCode(), Object::Has(), V8_FINAL< kOperandKind, kNumCachedOperands >::HInvokeFunction(), OptimizingCompilerThread::InstallOptimizedFunctions(), LoadIC::Load(), MessageHandler::MakeMessageObject(), Context::New(), Factory::NewJSObjectFromMap(), Factory::NewProperSubString(), LoadStubCompiler::NonexistentHandlerFrontend(), SetFunctionEntryHookTest::OnEntryHook(), JSON::Parse(), ParserTraits::ReportMessageAt(), SetFunctionEntryHookTest::RunLoopInNewEnv(), v8::internal::RUNTIME_FUNCTION(), Object::Set(), Object::SetAccessorProperty(), Context::SetEmbedderData(), Object::SetPrototype(), JSObject::SetPrototype(), CompareIC::StateToType(), KeyedStoreIC::Store(), v8::internal::StringReplaceOneCharWithString(), JSObjectWalkVisitor< ContextObject >::StructureWalk(), TEST(), THREADED_TEST(), BinaryOpIC::Transition(), JSObject::TryMigrateInstance(), and V8_FINAL< kOperandKind, kNumCachedOperands >::Unique().

Friends And Related Function Documentation

friend class Handle
friend

Definition at line 97 of file handles.h.


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