MySQL 26.7.0
Source Code Documentation
shcore::polyglot::Polyglot_type_bridger Struct Reference

#include <jit_executor_type_conversion.h>

Public Member Functions

 Polyglot_type_bridger (std::shared_ptr< Polyglot_language > context)
 
 ~Polyglot_type_bridger ()
 
void init ()
 
void dispose ()
 
Value poly_value_to_native_value (const poly_value &value) const
 
poly_value native_value_to_poly_value (const Value &value) const
 
std::string type_name (poly_value value) const
 
poly_value type_info (poly_value value) const
 
std::vector< Value > convert_args (const std::vector< poly_value > &args)
 

Public Attributes

std::weak_ptr< Polyglot_language > owner
 
class Polyglot_map_wrapper * map_wrapper
 
class Polyglot_array_wrapper * array_wrapper
 
class Polyglot_object_wrapper * object_wrapper
 
class Polyglot_object_wrapper * indexed_object_wrapper
 

Constructor & Destructor Documentation

◆ Polyglot_type_bridger()

shcore::polyglot::Polyglot_type_bridger::Polyglot_type_bridger ( std::shared_ptr< Polyglot_language >  context)

◆ ~Polyglot_type_bridger()

shcore::polyglot::Polyglot_type_bridger::~Polyglot_type_bridger ( )

Member Function Documentation

◆ convert_args()

std::vector< Value > shcore::polyglot::Polyglot_type_bridger::convert_args ( const std::vector< poly_value > &  args)

◆ dispose()

void shcore::polyglot::Polyglot_type_bridger::dispose ( )

◆ init()

void shcore::polyglot::Polyglot_type_bridger::init ( )

◆ native_value_to_poly_value()

poly_value shcore::polyglot::Polyglot_type_bridger::native_value_to_poly_value ( const Value &  value) const

◆ poly_value_to_native_value()

Value shcore::polyglot::Polyglot_type_bridger::poly_value_to_native_value ( const poly_value &  value) const

◆ type_info()

poly_value shcore::polyglot::Polyglot_type_bridger::type_info ( poly_value  value) const

◆ type_name()

std::string shcore::polyglot::Polyglot_type_bridger::type_name ( poly_value  value) const

Member Data Documentation

◆ array_wrapper

class Polyglot_array_wrapper* shcore::polyglot::Polyglot_type_bridger::array_wrapper

◆ indexed_object_wrapper

class Polyglot_object_wrapper* shcore::polyglot::Polyglot_type_bridger::indexed_object_wrapper

◆ map_wrapper

class Polyglot_map_wrapper* shcore::polyglot::Polyglot_type_bridger::map_wrapper

◆ object_wrapper

class Polyglot_object_wrapper* shcore::polyglot::Polyglot_type_bridger::object_wrapper

◆ owner

std::weak_ptr<Polyglot_language> shcore::polyglot::Polyglot_type_bridger::owner

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