Home | History | Annotate | Download | only in runtime

Lines Matching full:jsvalue

26 #include "JSValue.h"
52 inline void gcProtect(JSValue value)
58 inline void gcUnprotect(JSValue value)
77 operator JSValue() const { return JSValue(m_ptr); }
93 ProtectedJSValue(JSValue value);
99 JSValue get() const { return m_value; }
100 operator JSValue() const { return m_value; }
101 JSValue operator->() const { return m_value; }
107 ProtectedJSValue& operator=(JSValue);
110 JSValue m_value;
153 inline ProtectedJSValue::ProtectedJSValue(JSValue value)
178 JSValue ovalue = o.m_value;
185 inline ProtectedJSValue& ProtectedJSValue::operator=(JSValue ovalue)
202 inline bool operator==(const ProtectedJSValue& a, const JSValue b) { return a.get() == b; }
203 template <class T> inline bool operator==(const ProtectedJSValue& a, const ProtectedPtr<T>& b) { return a.get() == JSValue(b.get()); }
204 inline bool operator==(const JSValue a, const ProtectedJSValue& b) { return a == b.get(); }
205 template <class T> inline bool operator==(const ProtectedPtr<T>& a, const ProtectedJSValue& b) { return JSValue(a.get()) == b.get(); }
208 inline bool operator!=(const ProtectedJSValue& a, const JSValue b) { return a.get() != b; }
209 template <class T> inline bool operator!=(const ProtectedJSValue& a, const ProtectedPtr<T>& b) { return a.get() != JSValue(b.get()); }
210 inline bool operator!=(const JSValue a, const ProtectedJSValue& b) { return a != b.get(); }
211 template <class T> inline bool operator!=(const ProtectedPtr<T>& a, const ProtectedJSValue& b) { return JSValue(a.get()) != b.get(); }