|
| template<typename T > |
| bool | Script::FromJSVal (const Request &rq, const JS::HandleValue val, T &ret) |
| | Convert a JS::Value to a C++ type. More...
|
| |
| template<typename T > |
| bool | Script::FromJSVal (const Request &rq, JS::HandleValue v, std::optional< T > &out) |
| |
| template<typename T > |
| void | Script::ToJSVal (const Request &rq, JS::MutableHandleValue ret, T const &val) |
| | Convert a C++ type to a JS::Value. More...
|
| |
| template<std::size_t N> |
| void | Script::ToJSVal (const Request &rq, JS::MutableHandleValue ret, const char(&val)[N]) |
| |
| template<std::size_t N> |
| void | Script::ToJSVal (const Request &rq, JS::MutableHandleValue ret, const wchar_t(&val)[N]) |
| |
| template<> |
| void | Script::ToJSVal< JS::PersistentRootedValue > (const Request &, JS::MutableHandleValue handle, const JS::PersistentRootedValue &a) |
| |
| template<> |
| void | Script::ToJSVal< JS::Heap< JS::Value > > (const Request &, JS::MutableHandleValue handle, const JS::Heap< JS::Value > &a) |
| |
| template<> |
| void | Script::ToJSVal< JS::RootedValue > (const Request &, JS::MutableHandleValue handle, const JS::RootedValue &a) |
| |
| template<> |
| void | Script::ToJSVal< JS::HandleValue > (const Request &, JS::MutableHandleValue handle, const JS::HandleValue &a) |
| |
| template<typename T > |
| bool | Script::FromJSProperty (const Request &rq, const JS::HandleValue val, const char *name, T &ret, bool strict=false) |
| | Convert a named property of an object to a C++ type. More...
|
| |
| template<typename T > |
| void | Script::ToJSVal_vector (const Request &rq, JS::MutableHandleValue ret, const std::vector< T > &val) |
| |
| template<typename T > |
| bool | Script::FromJSVal_vector (const Request &rq, JS::HandleValue v, std::vector< T > &out) |
| |