class Bindgen::Parser::Template

Overview

Stores information about a template Type.

Defined in:

bindgen/parser/template.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(fullName : String, baseName : String, arguments : Array(Bindgen::Parser::Type)) #

[View source]
def self.new(__temp_242 : JSON::PullParser) #

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def arguments : Array(Type) #

def arguments=(_arguments : Array(Type)) #

def base_name : String #

Base name of the type, like std::vector


[View source]
def baseName : String #

def baseName=(_baseName : String) #

def full_name : String #

Full name, like std::vector<_Tp, _Alloc>


[View source]
def fullName : String #

def fullName=(_fullName : String) #

def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def mangled_name : String #

Returns the mangled name of the template arguments.


[View source]
def to_json(json : JSON::Builder) #