Lines Matching defs:Local
34 LocalScope. Use Locals for local values on the stack. It is an error to
35 create a Local outside of any LocalScope.
40 template <typename T> class Local : public Handle<T> {
47 Local(JSGlobalData&, ExternalType = ExternalType());
48 Local(JSGlobalData&, Handle<T>);
49 Local(const Local<T>&); // Adopting constructor. Used to return a Local to a calling function.
51 Local& operator=(ExternalType);
52 Local& operator=(Handle<T>);
55 Local(HandleSlot, ExternalType); // Used by LocalScope::release() to move a Local to a containing scope.
59 template <typename T> inline Local<T>::Local(JSGlobalData& globalData, ExternalType value)
65 template <typename T> inline Local<T>::Local(JSGlobalData& globalData, Handle<T> other)
71 template <typename T> inline Local<T>::Local(const Local<T>& other)
74 const_cast<Local<T>&>(other).setSlot(0); // Prevent accidental sharing.
77 template <typename T> inline Local<T>::Local(HandleSlot slot, ExternalType value)
82 template <typename T> inline Local<T>& Local<T>::operator=(ExternalType value)
88 template <typename T> inline Local<T>& Local<T>::operator=(Handle<T> other)
94 template <typename T> inline void Local<T>::set(ExternalType externalType)
126 m_stack.append(Local<T>(*m_globalData, value));
137 Vector<Local<T>, inlineCapacity> m_stack;
145 template<typename T> struct VectorTraits<JSC::Local<T> > : SimpleClassVectorTraits {