v8  3.14.5(node0.10.28)
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(), TypeFeedbackOracle::BinaryType(), HArrayLiteral::boilerplate_elements_kind(), BooleanObject::BooleanValue(), Execution::Call(), Object::CallAsConstructor(), Object::CallAsFunction(), Isolate::CaptureCurrentStackTrace(), TypeFeedbackOracle::CollectKeyedReceiverTypes(), TypeFeedbackOracle::CompareType(), CallICBase::ComputeMonomorphicStub(), Factory::CreateApiFunction(), Runtime::CreateArrayLiteralBoilerplate(), DeoptimizingCodeListNode::DeoptimizingCodeListNode(), Context::DetachGlobal(), Runtime::ForceDeleteObjectProperty(), Runtime::ForceSetObjectProperty(), Context::GetCalling(), TypeFeedbackOracle::GetCallNewTarget(), TypeFeedbackOracle::GetCallTarget(), TypeFeedbackOracle::GetCompareMap(), Context::GetCurrent(), Object::GetElement(), Runtime::GetElementOrCharAt(), Message::GetEndColumn(), Message::GetEndPosition(), Context::GetEntered(), String::GetExternalAsciiStringResource(), MessageHandler::GetMessage(), TypeFeedbackOracle::GetObjectLiteralStoreMap(), Runtime::GetObjectProperty(), Object::GetProperty(), Object::GetPropertyAttributes(), Message::GetScriptData(), Message::GetScriptResourceName(), v8::internal::GetScriptWrapper(), Message::GetStackTrace(), Execution::GetStackTraceLine(), Message::GetStartPosition(), Context::Global(), TypeFeedbackOracle::IncrementType(), Execution::InstantiateFunction(), Execution::InstantiateObject(), Context::IsCodeGenerationFromStringsAllowed(), HArrayLiteral::IsCopyOnWrite(), v8::internal::IsEqualNumber(), TypeFeedbackOracle::IsSymbolCompare(), LoadIC::Load(), KeyedLoadIC::Load(), CallICBase::LoadFunction(), KeyedCallIC::LoadFunction(), TypeFeedbackOracle::LoadIsMegamorphicWithTypeInfo(), TypeFeedbackOracle::LoadIsMonomorphicNormal(), TypeFeedbackOracle::LoadIsUninitialized(), TypeFeedbackOracle::LoadMonomorphicReceiverType(), 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(), Context::ReattachGlobal(), CallICBase::ReceiverToObjectIfRequired(), Property::RecordTypeFeedback(), Call::RecordTypeFeedback(), Assignment::RecordTypeFeedback(), v8::internal::RUNTIME_FUNCTION(), ObjectTemplate::SetAccessCheckCallbacks(), FunctionTemplate::SetCallHandler(), Context::SetErrorMessageForCodeGenerationFromStrings(), Runtime::SetObjectProperty(), Isolate::StackOverflow(), StoreIC::Store(), KeyedStoreIC::Store(), TypeFeedbackOracle::StoreIsMegamorphicWithTypeInfo(), TypeFeedbackOracle::StoreIsMonomorphicNormal(), TypeFeedbackOracle::StoreMonomorphicReceiverType(), StringObject::StringValue(), TypeFeedbackOracle::SwitchType(), TEST(), THREADED_TEST(), Value::ToArrayIndex(), Execution::ToBoolean(), TypeFeedbackOracle::ToBooleanTypes(), ReplacementStringBuilder::ToString(), v8::internal::TransitionElements(), TypeFeedbackOracle::UnaryType(), and CallICBase::UpdateCaches().

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

Definition at line 246 of file api.h.

References HandleScope::Close(), 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)
bool is_null ( ) const
inline

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