v8  3.11.10(node0.8.26)
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)
 
bool is_identical_to (const Handle< T > other) const
 
 INLINE (T *operator*() const)
 
T ** location () const
 
bool is_null () const
 
Handle< TEscapeFrom (v8::HandleScope *scope)
 

Static Public Member Functions

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

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 81 of file handles.h.

Referenced by Context::AllowCodeGenerationFromStrings(), Literal::AsPropertyName(), RegExpCompiler::Assemble(), HArrayLiteral::boilerplate_elements_kind(), BooleanObject::BooleanValue(), Execution::Call(), Object::CallAsConstructor(), Object::CallAsFunction(), Isolate::CaptureCurrentStackTrace(), CallICBase::ComputeMonomorphicStub(), Factory::CreateApiFunction(), Runtime::CreateArrayLiteralBoilerplate(), DeoptimizingCodeListNode::DeoptimizingCodeListNode(), Context::DetachGlobal(), Runtime::ForceDeleteObjectProperty(), Runtime::ForceSetObjectProperty(), Context::GetCalling(), Context::GetCurrent(), Object::GetElement(), Runtime::GetElementOrCharAt(), Message::GetEndColumn(), Message::GetEndPosition(), Context::GetEntered(), String::GetExternalAsciiStringResource(), MessageHandler::GetMessage(), Runtime::GetObjectProperty(), Object::GetProperty(), Object::GetPropertyAttributes(), Message::GetScriptData(), Message::GetScriptResourceName(), v8::internal::GetScriptWrapper(), Message::GetStackTrace(), Execution::GetStackTraceLine(), Message::GetStartPosition(), Context::Global(), Execution::InstantiateFunction(), Execution::InstantiateObject(), Context::IsCodeGenerationFromStringsAllowed(), HArrayLiteral::IsCopyOnWrite(), v8::internal::IsEqualNumber(), LoadIC::Load(), KeyedLoadIC::Load(), CallICBase::LoadFunction(), KeyedCallIC::LoadFunction(), CompilationCacheScript::Lookup(), MessageHandler::MakeMessageObject(), Bootstrapper::NativesSourceLookup(), FunctionTemplate::New(), Signature::New(), TypeSwitch::New(), Factory::NewAccessorInfo(), Factory::NewError(), Execution::NewJSRegExp(), Factory::NewScript(), Date::NumberValue(), NumberObject::NumberValue(), Object::ObjectProtoToString(), Bootstrapper::ReattachGlobal(), Context::ReattachGlobal(), CallICBase::ReceiverToObjectIfRequired(), Property::RecordTypeFeedback(), Call::RecordTypeFeedback(), Assignment::RecordTypeFeedback(), v8::internal::RUNTIME_FUNCTION(), ObjectTemplate::SetAccessCheckCallbacks(), FunctionTemplate::SetCallHandler(), Runtime::SetObjectProperty(), Isolate::StackOverflow(), StoreIC::Store(), KeyedStoreIC::Store(), StringObject::StringValue(), TEST(), THREADED_TEST(), Value::ToArrayIndex(), Execution::ToBoolean(), ReplacementStringBuilder::ToString(), v8::internal::TransitionElements(), and CallICBase::UpdateCaches().

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

Definition at line 254 of file api.h.

References HandleScope::Close(), Utils::OpenHandle(), and Utils::ToLocal().

Referenced by Factory::NewError(), and 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 ( T *operator*()  const)

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