Rosetta  3.6
 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 <type.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 (vector< string > &includes)
 
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//#include <pybind11/stl.h>\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