* @brief This struct is the ProxyHandler for JS Proxy Iterable pythonmonkey creates to handle coercion from python iterables to JS Objects * */
| 20 | * |
| 21 | */ |
| 22 | struct PyIterableProxyHandler : public PyObjectProxyHandler { |
| 23 | public: |
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected