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

#include <parsed_method.h>

Collaboration diagram for ClassFunction::TypeInfo:
Collaboration graph
[legend]

Public Member Functions

CXXRecordDecl const * get_plain_type_decl () const
 
string get_jsdoc_type_name () const
 corresponding javascript type More...
 
 TypeInfo (QualType const &type)
 
bool is_const () const
 
TypeInfo plain_without_const () const
 
bool is_templated () const
 
void for_each_templated_type (std::function< void(QualType)>) const
 
bool is_void () const
 

Public Attributes

QualType type
 
QualType plain_type
 
string name
 name of actual type More...
 
string plain_name
 name of type without reference or pointers More...
 

Detailed Description

Definition at line 23 of file parsed_method.h.

Constructor & Destructor Documentation

ClassFunction::TypeInfo::TypeInfo ( QualType const &  type)

Definition at line 5 of file parsed_method.cpp.

References cpp_to_js_type_conversions, and name.

Referenced by get_jsdoc_type_name(), and plain_without_const().

Here is the caller graph for this function:

Member Function Documentation

CXXRecordDecl const * ClassFunction::TypeInfo::get_plain_type_decl ( ) const

Definition at line 106 of file parsed_method.cpp.

References plain_type.

Referenced by get_jsdoc_type_name(), and is_templated().

Here is the caller graph for this function:

string ClassFunction::TypeInfo::get_jsdoc_type_name ( ) const

corresponding javascript type

Definition at line 47 of file parsed_method.cpp.

References for_each_templated_type(), get_plain_type_decl(), is_templated(), name, plain_name, plain_without_const(), print_vector(), and TypeInfo().

Referenced by ClassFunction::ParameterInfo::generate_js_stub(), MemberFunction::generate_js_stub(), StaticFunction::generate_js_stub(), and DataMember::get_js_stub().

Here is the call graph for this function:

Here is the caller graph for this function:

bool ClassFunction::TypeInfo::is_const ( ) const

Definition at line 93 of file parsed_method.cpp.

References plain_type.

Referenced by DataMember::DataMember().

Here is the caller graph for this function:

ClassFunction::TypeInfo ClassFunction::TypeInfo::plain_without_const ( ) const

Definition at line 98 of file parsed_method.cpp.

References plain_type, and TypeInfo().

Referenced by get_jsdoc_type_name(), and ClassFunction::ParameterInfo::ParameterInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

bool ClassFunction::TypeInfo::is_templated ( ) const

Definition at line 116 of file parsed_method.cpp.

References get_plain_type_decl().

Referenced by get_jsdoc_type_name().

Here is the call graph for this function:

Here is the caller graph for this function:

void ClassFunction::TypeInfo::for_each_templated_type ( std::function< void(QualType)>  callback) const

Definition at line 128 of file parsed_method.cpp.

References plain_type, and print_logging.

Referenced by get_jsdoc_type_name().

Here is the caller graph for this function:

bool ClassFunction::TypeInfo::is_void ( ) const
inline

Definition at line 59 of file parsed_method.h.

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

Here is the caller graph for this function:

Member Data Documentation

QualType ClassFunction::TypeInfo::type

Definition at line 29 of file parsed_method.h.

Referenced by ClassFunction::ClassFunction(), and DataMember::DataMember().

QualType ClassFunction::TypeInfo::plain_type
string ClassFunction::TypeInfo::name
string ClassFunction::TypeInfo::plain_name

name of type without reference or pointers

Definition at line 42 of file parsed_method.h.

Referenced by get_jsdoc_type_name().


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