struct Mint::Formatter::Entity

Overview

Describes an entity (mostly function definition). If the whole thing does not fit in one line then the arguments are broken into their own lines.

Defined in:

formatter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(head : Nodes, arguments : Array(Nodes), tail : Nodes) #

[View source]

Instance Method Detail

def arguments : Array(Nodes) #

def clone #

[View source]
def copy_with(head _head = @head, arguments _arguments = @arguments, tail _tail = @tail) #

[View source]
def head : Nodes #

def tail : Nodes #