struct Bindgen::Cpp::Typename

Overview

C++ type-name generation logic.

Defined in:

bindgen/cpp/typename.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def full(base_name : String, const, pointer, is_reference) : String #

Formats the type in result in C++ style.


[View source]
def full(result : Call::Expression) : String #

Formats the type in result in C++ style.


[View source]
def full(results : Enumerable(Call::Expression)) : Array(String) #

Formats many results.


[View source]
def initialize #

[View source]
def template_class(template : String, arguments : Enumerable(String)) : String #

Generates the C++ type name of a template class with the given template type arguments.


[View source]