v8toolkit
0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
|
#include <parsed_method.h>
Public Member Functions | |
ConstructorFunction (WrappedClass &wrapped_class, CXXConstructorDecl const *constructor_decl) | |
string | generate_js_bindings () |
string | generate_js_stub () |
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 | |
CXXConstructorDecl const *const | constructor_decl |
WrappedClass & | wrapped_class |
bool | is_static |
bool | is_virtual |
bool | new_virtual |
TypeInfo | return_type |
string | return_type_comment |
vector< ParameterInfo > | parameters |
CXXMethodDecl const * | method_decl |
string | name |
string | js_name |
CompilerInstance & | compiler_instance |
Annotations | annotations |
Definition at line 138 of file parsed_method.h.
ConstructorFunction::ConstructorFunction | ( | WrappedClass & | wrapped_class, |
CXXConstructorDecl const * | constructor_decl | ||
) |
Definition at line 638 of file parsed_method.cpp.
References ClassFunction::compiler_instance, data_error(), ClassFunction::js_name, ClassFunction::name, WrappedClass::name_alias, and used_constructor_names.
string ConstructorFunction::generate_js_bindings | ( | ) |
Definition at line 677 of file parsed_method.cpp.
References ClassFunction::get_default_argument_tuple_string(), ClassFunction::get_parameter_types_string(), and ClassFunction::js_name.
string ConstructorFunction::generate_js_stub | ( | ) |
Definition at line 751 of file parsed_method.cpp.
References ClassFunction::get_js_input_parameter_string(), and ClassFunction::parameters.
|
inherited |
Definition at line 427 of file parsed_method.cpp.
References get_type_string(), and ClassFunction::parameters.
Referenced by MemberFunction::generate_js_bindings(), StaticFunction::generate_js_bindings(), and generate_js_bindings().
|
inherited |
Definition at line 602 of file parsed_method.cpp.
References ClassFunction::name, and ClassFunction::parameters.
|
inherited |
|
inherited |
Definition at line 487 of file parsed_method.cpp.
References ClassFunction::parameters.
Referenced by generate_js_bindings(), ClassFunction::get_return_and_class_and_parameter_types_string(), and ClassFunction::get_return_and_parameter_types_string().
|
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 MemberFunction::generate_js_bindings().
|
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().
|
inherited |
Definition at line 501 of file parsed_method.cpp.
References ClassFunction::parameters.
Referenced by MemberFunction::generate_js_stub(), StaticFunction::generate_js_stub(), and generate_js_stub().
CXXConstructorDecl const* const ConstructorFunction::constructor_decl |
Definition at line 146 of file parsed_method.h.
|
inherited |
Definition at line 16 of file parsed_method.h.
Referenced by ClassFunction::ParameterInfo::ParameterInfo().
|
inherited |
Definition at line 17 of file parsed_method.h.
|
inherited |
Definition at line 18 of file parsed_method.h.
|
inherited |
Definition at line 21 of file parsed_method.h.
|
inherited |
|
inherited |
Definition at line 88 of file parsed_method.h.
|
inherited |
Definition at line 89 of file parsed_method.h.
Referenced by ClassFunction::ClassFunction(), generate_bidirectional_classes(), MemberFunction::generate_js_stub(), StaticFunction::generate_js_stub(), generate_js_stub(), ClassFunction::get_default_argument_tuple_string(), ClassFunction::get_js_input_parameter_string(), ClassFunction::get_parameter_types_string(), ClassFunction::get_return_and_class_and_parameter_types_string(), ClassFunction::get_return_and_parameter_types_string(), and ClassFunction::get_signature_string().
|
inherited |
Definition at line 90 of file parsed_method.h.
Referenced by MemberFunction::generate_js_bindings().
|
inherited |
Definition at line 93 of file parsed_method.h.
Referenced by ClassFunction::ClassFunction(), ConstructorFunction(), MemberFunction::generate_js_bindings(), StaticFunction::generate_js_bindings(), and ClassFunction::get_signature_string().
|
inherited |
Definition at line 96 of file parsed_method.h.
Referenced by ClassFunction::ClassFunction(), ConstructorFunction(), MemberFunction::generate_js_bindings(), StaticFunction::generate_js_bindings(), generate_js_bindings(), MemberFunction::generate_js_stub(), StaticFunction::generate_js_stub(), MemberFunction::MemberFunction(), and StaticFunction::StaticFunction().
|
inherited |
Definition at line 97 of file parsed_method.h.
Referenced by ClassFunction::ClassFunction(), and ConstructorFunction().
|
inherited |
Definition at line 98 of file parsed_method.h.
Referenced by ClassFunction::ClassFunction().