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

Binding generation for static and member functions. More...

#include <function.hpp>
#include <class.hpp>
#include <type.hpp>
#include <util.hpp>
#include <fmt/format.h>
#include <clang/AST/DeclCXX.h>
#include <clang/AST/ASTContext.h>
#include <clang/AST/ExprCXX.h>
#include <vector>

Namespaces

 binder
 

Functions

string binder::function_arguments (clang::FunctionDecl const *record)
 
pair< string, string > binder::function_arguments_for_lambda (clang::FunctionDecl const *record, uint n)
 
tuple< string, string, string > binder::function_arguments_for_py_overload (clang::FunctionDecl const *record)
 
string binder::template_specialization (FunctionDecl const *F)
 
string binder::python_function_name (FunctionDecl const *F)
 
string binder::function_pointer_type (FunctionDecl const *F)
 
string binder::function_qualified_name (FunctionDecl const *F)
 
vector< QualType > binder::get_type_dependencies (FunctionDecl const *F)
 
bool binder::is_binding_requested (FunctionDecl const *F, Config const &config)
 check if user requested binding for the given declaration More...
 
bool binder::is_skipping_requested (FunctionDecl const *F, Config const &config)
 check if user requested skipping for the given declaration More...
 
string binder::bind_function (FunctionDecl const *F, uint args_to_bind, bool request_bindings_f, Context &context)
 
string binder::bind_function (string const &module, FunctionDecl const *F, Context &context)
 
void binder::add_relevant_includes (FunctionDecl const *F, IncludeSet &includes, int level)
 extract include needed for this generator and add it to includes vector More...
 
bool binder::is_bindable (FunctionDecl const *F)
 check if generator can create binding More...
 

Variables

static std::map< string,
string > const 
binder::cpp_python_operator_map
 

Detailed Description

Binding generation for static and member functions.

Author
Sergey Lyskov