struct Signature

Overview

Represents a fully typed definition signature

Defined in:

signature.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, return_type : Crystal::ASTNode, location : Crystal::Location, args : Hash(String, Crystal::ASTNode) = {} of String => Crystal::ASTNode) #

[View source]

Instance Method Detail

def args : Hash(String, Crystal::ASTNode) #

def clone #

[View source]
def copy_with(name _name = @name, return_type _return_type = @return_type, location _location = @location, args _args = @args) #

[View source]
def location : Crystal::Location #

def name : String #

def return_type : Crystal::ASTNode #