PythonMonkey   v1.0.0 (dev)
Loading...
Searching...
No Matches
PyBaseProxyHandler Struct Reference

base class for PyDictProxyHandler and PyListProxyHandler More...

#include <PyBaseProxyHandler.hh>

Inheritance diagram for PyBaseProxyHandler:
[legend]
Collaboration diagram for PyBaseProxyHandler:
[legend]

Public Member Functions

 PyBaseProxyHandler (const void *family)
 
bool getPrototypeIfOrdinary (JSContext *cx, JS::HandleObject proxy, bool *isOrdinary, JS::MutableHandleObject protop) const override final
 
bool preventExtensions (JSContext *cx, JS::HandleObject proxy, JS::ObjectOpResult &result) const override final
 
bool isExtensible (JSContext *cx, JS::HandleObject proxy, bool *extensible) const override final
 

Detailed Description

Constructor & Destructor Documentation

◆ PyBaseProxyHandler()

PyBaseProxyHandler::PyBaseProxyHandler ( const void *  family)

Member Function Documentation

◆ getPrototypeIfOrdinary()

bool PyBaseProxyHandler::getPrototypeIfOrdinary ( JSContext *  cx,
JS::HandleObject  proxy,
bool *  isOrdinary,
JS::MutableHandleObject  protop 
) const
finaloverride

◆ isExtensible()

bool PyBaseProxyHandler::isExtensible ( JSContext *  cx,
JS::HandleObject  proxy,
bool *  extensible 
) const
finaloverride

◆ preventExtensions()

bool PyBaseProxyHandler::preventExtensions ( JSContext *  cx,
JS::HandleObject  proxy,
JS::ObjectOpResult &  result 
) const
finaloverride

The documentation for this struct was generated from the following files: