struct Bindgen::Cpp::Format

Overview

Formatter for C++ style code.

Defined in:

bindgen/cpp/format.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def argument(arg : Call::Argument, idx) : String #

Formats arg as type name


[View source]
def argument_list(arguments : Enumerable(Call::Argument)) : String #

Formats arguments as type name, ...


[View source]
def function_pointer(call : Call) : String #

Returns a C++ function pointer type, matching method.


[View source]
def initialize #

[View source]