Rosetta  3.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions | Variables
context.cpp File Reference

Data structures to represent root context and modules. More...

#include <context.hpp>
#include <binder.hpp>
#include <type.hpp>
#include <class.hpp>
#include <function.hpp>
#include <util.hpp>
#include <fmt/format.h>
#include <clang/AST/ASTContext.h>
#include <sstream>
#include <fstream>
#include <set>

Namespaces

 binder
 

Functions

llvm::raw_ostream & binder::operator<< (llvm::raw_ostream &os, Binder const &b)
 
string binder::generate_include_directives (IncludeSet const &include_set)
 
string binder::file_name_prefix_for_binder (BinderOP &b)
 Generate file name where binding for given generator should be stored. More...
 

Variables

const char * binder::main_module_header
 
const char * binder::module_header = "\n#include <pybind11/pybind11.h>\n\n{}#ifndef BINDER_PYBIND11_TYPE_CASTER\n\t#define BINDER_PYBIND11_TYPE_CASTER\n\tPYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>);\n#endif\n\n"
 
const char * binder::module_function_suffix = "(std::function< pybind11::module &(std::string const &namespace_) > &M)"
 

Detailed Description

Data structures to represent root context and modules.

Author
Sergey Lyskov