PythonMonkey   v1.1.1 (dev)
Loading...
Searching...
No Matches
JSStringProxy.hh File Reference

JSStringProxy is a custom C-implemented python type that derives from str. It acts as a proxy for JSStrings from Spidermonkey, and behaves like a str would. More...

#include <jsapi.h>
#include <Python.h>
#include <unordered_set>
Include dependency graph for JSStringProxy.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  JSStringProxy
 The typedef for the backing store that will be used by JSStringProxy objects. All it contains is a pointer to the JSString. More...
 
struct  JSStringProxyMethodDefinitions
 This struct is a bundle of methods used by the JSStringProxy type. More...
 

Functions

 PyDoc_STRVAR (stringproxy_deepcopy__doc__, "__deepcopy__($self, memo, /)\n" "--\n" "\n")
 
 PyDoc_STRVAR (stringproxy_copy__doc__, "__copy__($self, /)\n" "--\n" "\n")
 

Variables

std::unordered_set< JSStringProxy * > jsStringProxies
 
PyTypeObject JSStringProxyType
 Struct for the JSStringProxyType, used by all JSStringProxy objects.
 

Detailed Description

JSStringProxy is a custom C-implemented python type that derives from str. It acts as a proxy for JSStrings from Spidermonkey, and behaves like a str would.

Author
Caleb Aikens (caleb.nosp@m.@dis.nosp@m.tribu.nosp@m.tive.nosp@m..netw.nosp@m.ork)
Date
2024-01-03

Function Documentation

◆ PyDoc_STRVAR() [1/2]

PyDoc_STRVAR ( stringproxy_copy__doc__  ,
"__copy__($self, /)\n" "--\n" "\n"   
)

◆ PyDoc_STRVAR() [2/2]

PyDoc_STRVAR ( stringproxy_deepcopy__doc__  ,
"__deepcopy__($self, memo, /)\n" "--\n" "\n"   
)

Variable Documentation

◆ jsStringProxies

std::unordered_set<JSStringProxy *> jsStringProxies
extern

◆ JSStringProxyType

PyTypeObject JSStringProxyType
extern

Struct for the JSStringProxyType, used by all JSStringProxy objects.