class Mint::Formatter::Processor

Defined in:

formatter/processor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(indent_size : Int32) #

[View source]

Instance Method Detail

def column : Int32 #

The column currently at.


[View source]
def column=(column : Int32) #

The column currently at.


[View source]
def depth : Int32 #

The nesting depth we currently at.


[View source]
def depth=(depth : Int32) #

The nesting depth we currently at.


[View source]
def indent_size : Int32 #

The indentation size


[View source]
def max : Int32 #

The max number of columns.


[View source]
def new_line?(nodes : Array(Processed)) #

[View source]
def new_line?(node : Processed) #

[View source]
def process(nodes : Nodes) : Array(Processed) #

[View source]
def process(node : Node) : Array(Processed) #

[View source]
def size(nodes : Array(Nodes)) : Int32 #

[View source]
def size(nodes : Nodes) : Int32 #

[View source]
def size(node : Node) : Int32 #

[View source]