Searched refs:PythonModule (Results 1 – 3 of 3) sorted by relevance
65 if (PythonModule::Check(m_py_obj)) in GetObjectType()786 PythonModule::PythonModule() : PythonObject() {} in PythonModule() function in PythonModule788 PythonModule::PythonModule(PyRefType type, PyObject *py_obj) { in PythonModule() function in PythonModule792 PythonModule::PythonModule(const PythonModule &dict) : PythonObject(dict) {} in PythonModule() function in PythonModule794 PythonModule::~PythonModule() {} in ~PythonModule()796 PythonModule PythonModule::BuiltinsModule() { in BuiltinsModule()804 PythonModule PythonModule::MainModule() { return AddModule("__main__"); } in MainModule()806 PythonModule PythonModule::AddModule(llvm::StringRef module) { in AddModule()811 PythonModule PythonModule::ImportModule(llvm::StringRef module) { in ImportModule()816 bool PythonModule::Check(PyObject *py_obj) { in Check()[all …]
383 class PythonModule : public PythonObject {385 PythonModule();386 PythonModule(PyRefType type, PyObject *o);387 PythonModule(const PythonModule &dict);389 ~PythonModule() override;393 static PythonModule BuiltinsModule();395 static PythonModule MainModule();397 static PythonModule AddModule(llvm::StringRef module);399 static PythonModule ImportModule(llvm::StringRef module);
128 auto traceback_module = PythonModule::ImportModule("traceback"); in ReadBacktrace()130 auto stringIO_module = PythonModule::ImportModule("io"); in ReadBacktrace()132 auto stringIO_module = PythonModule::ImportModule("StringIO"); in ReadBacktrace()