v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Public Attributes | List of all members
MemberFunction Class Reference

#include <parsed_method.h>

Inheritance diagram for MemberFunction:
Inheritance graph
[legend]
Collaboration diagram for MemberFunction:
Collaboration graph
[legend]

Public Member Functions

 MemberFunction (WrappedClass &wrapped_class, CXXMethodDecl const *method_decl)
 
string generate_js_bindings ()
 
string generate_js_stub ()
 
string generate_bidirectional ()
 
string get_default_argument_tuple_string () const
 
string get_signature_string ()
 
bool compare_signatures (ClassFunction const &other)
 
string get_parameter_types_string () const
 
string get_return_and_class_and_parameter_types_string () const
 
string get_return_and_parameter_types_string () const
 
string get_js_input_parameter_string () const
 

Public Attributes

WrappedClasswrapped_class
 
bool is_static
 
bool is_virtual
 
bool new_virtual
 
TypeInfo return_type
 
string return_type_comment
 
vector< ParameterInfoparameters
 
CXXMethodDecl const * method_decl
 
string name
 
string js_name
 
CompilerInstance & compiler_instance
 
Annotations annotations
 

Detailed Description

Definition at line 123 of file parsed_method.h.

Constructor & Destructor Documentation

MemberFunction::MemberFunction ( WrappedClass wrapped_class,
CXXMethodDecl const *  method_decl 
)

Definition at line 619 of file parsed_method.cpp.

References WrappedClass::add_member_name(), and ClassFunction::js_name.

Here is the call graph for this function:

Member Function Documentation

string MemberFunction::generate_js_bindings ( )
string MemberFunction::generate_js_stub ( )
string MemberFunction::generate_bidirectional ( )

Definition at line 716 of file parsed_method.cpp.

string ClassFunction::get_default_argument_tuple_string ( ) const
inherited

Definition at line 427 of file parsed_method.cpp.

References get_type_string(), and ClassFunction::parameters.

Referenced by generate_js_bindings(), StaticFunction::generate_js_bindings(), and ConstructorFunction::generate_js_bindings().

Here is the call graph for this function:

Here is the caller graph for this function:

string ClassFunction::get_signature_string ( )
inherited

Definition at line 602 of file parsed_method.cpp.

References ClassFunction::name, and ClassFunction::parameters.

bool ClassFunction::compare_signatures ( ClassFunction const &  other)
inherited
string ClassFunction::get_parameter_types_string ( ) const
inherited
string ClassFunction::get_return_and_class_and_parameter_types_string ( ) const
inherited

Definition at line 463 of file parsed_method.cpp.

References ClassFunction::get_parameter_types_string(), ClassFunction::TypeInfo::name, ClassFunction::parameters, and ClassFunction::return_type.

Referenced by generate_js_bindings().

Here is the call graph for this function:

Here is the caller graph for this function:

string ClassFunction::get_return_and_parameter_types_string ( ) const
inherited

Definition at line 475 of file parsed_method.cpp.

References ClassFunction::get_parameter_types_string(), ClassFunction::TypeInfo::name, ClassFunction::parameters, and ClassFunction::return_type.

Referenced by StaticFunction::generate_js_bindings().

Here is the call graph for this function:

Here is the caller graph for this function:

string ClassFunction::get_js_input_parameter_string ( ) const
inherited

Definition at line 501 of file parsed_method.cpp.

References ClassFunction::parameters.

Referenced by generate_js_stub(), StaticFunction::generate_js_stub(), and ConstructorFunction::generate_js_stub().

Here is the caller graph for this function:

Member Data Documentation

WrappedClass& ClassFunction::wrapped_class
inherited

Definition at line 16 of file parsed_method.h.

Referenced by ClassFunction::ParameterInfo::ParameterInfo().

bool ClassFunction::is_static
inherited

Definition at line 17 of file parsed_method.h.

bool ClassFunction::is_virtual
inherited

Definition at line 18 of file parsed_method.h.

bool ClassFunction::new_virtual
inherited

Definition at line 21 of file parsed_method.h.

TypeInfo ClassFunction::return_type
inherited
string ClassFunction::return_type_comment
inherited

Definition at line 88 of file parsed_method.h.

vector<ParameterInfo> ClassFunction::parameters
inherited
CXXMethodDecl const* ClassFunction::method_decl
inherited

Definition at line 90 of file parsed_method.h.

Referenced by generate_js_bindings().

string ClassFunction::name
inherited
string ClassFunction::js_name
inherited
CompilerInstance& ClassFunction::compiler_instance
inherited
Annotations ClassFunction::annotations
inherited

Definition at line 98 of file parsed_method.h.

Referenced by ClassFunction::ClassFunction().


The documentation for this class was generated from the following files: