Rosetta  2020.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
function.hpp File Reference
#include <context.hpp>
#include <clang/AST/Decl.h>
#include <clang/AST/DeclCXX.h>
#include <string>
#include <tuple>

Classes

class  binder::FunctionBinder
 

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)
 
std::string binder::python_function_name (clang::FunctionDecl const *F)
 
std::string binder::function_pointer_type (clang::FunctionDecl const *record)
 
std::string binder::function_qualified_name (clang::FunctionDecl const *F, bool omit_return_type=false)
 
bool binder::is_binding_requested (clang::FunctionDecl const *F, Config const &config)
 check if user requested binding for the given declaration More...
 
bool binder::is_skipping_requested (clang::FunctionDecl const *F, Config const &config)
 check if user requested skipping for the given declaration More...
 
std::string binder::bind_function (std::string const &module, clang::FunctionDecl const *F, Context &, clang::CXXRecordDecl const *parent=nullptr, bool always_use_lambda=false)
 
void binder::add_relevant_includes (clang::FunctionDecl const *F, IncludeSet &includes, int level)
 extract include needed for this generator and add it to includes vector More...
 
bool binder::is_bindable (clang::FunctionDecl const *F)
 check if generator can create binding More...
 
bool binder::is_overloadable (clang::CXXMethodDecl const *M)
 check if methods could be overload in Python More...