Rosetta
Namespaces | Functions
function.cpp File Reference
#include <function.hpp>
#include <class.hpp>
#include <fmt/format.h>
#include <type.hpp>
#include <util.hpp>
#include <clang/AST/ASTContext.h>
#include <clang/AST/DeclCXX.h>
#include <clang/AST/ExprCXX.h>
#include <vector>

Namespaces

 binder
 

Functions

string binder::cpp_python_operator (const FunctionDecl &F)
 
string binder::function_arguments (clang::FunctionDecl const *record)
 Generate function argument list separated by comma. More...
 
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, bool omit_return_type)
 
vector< QualType > binder::get_type_dependencies (FunctionDecl const *F)
 generate human redable C++ type signature for given function More...
 
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, CXXRecordDecl const *parent, bool always_use_lambda)
 
string binder::bind_function (string const &module, FunctionDecl const *F, Context &context, CXXRecordDecl const *parent, bool always_use_lambda)
 
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_raw (FunctionDecl const *F)
 check if generator can create binding More...
 
bool binder::is_bindable (FunctionDecl const *F)
 check if generator can create binding More...
 
bool binder::is_overloadable (CXXMethodDecl const *M)
 check if methods could be overload in Python More...