class OccTyping::TypeFunction

Defined in:

occ_typing/type.cr

Constructors

Instance Method Summary

Class methods inherited from class OccTyping::Type

[](*args) []

Constructor Detail

def self.new(param : OccTyping::Type, ret : OccTyping::Type) #

[View source]

Instance Method Detail

def param : Type #

[View source]
def param=(param : Type) #

[View source]
def pretty_print(format : PrettyPrint) #
Description copied from class Object

Pretty prints self into the given printer.

By default appends a text that is the result of invoking #inspect on self. Subclasses should override for custom pretty printing.


[View source]
def ret : Type #

[View source]
def ret=(ret : Type) #

[View source]