MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / PyIterableProxyHandler

Class PyIterableProxyHandler

include/PyIterableProxyHandler.hh:22–31  ·  view source on GitHub ↗

* @brief This struct is the ProxyHandler for JS Proxy Iterable pythonmonkey creates to handle coercion from python iterables to JS Objects * */

Source from the content-addressed store, hash-verified

20 *
21 */
22struct PyIterableProxyHandler : public PyObjectProxyHandler {
23public:
24 PyIterableProxyHandler() : PyObjectProxyHandler(&family) {};
25 static const char family;
26
27 bool getOwnPropertyDescriptor(
28 JSContext *cx, JS::HandleObject proxy, JS::HandleId id,
29 JS::MutableHandle<mozilla::Maybe<JS::PropertyDescriptor>> desc
30 ) const override;
31};
32
33#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected