class Diff::MyersLinear

Defined in:

diff/differs/myers_linear.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Diff::Differ

diff : Array(Diff::Edit) diff

Constructor Detail

def self.new(a : Array(Line), b : Array(Line)) #

[View source]

Class Method Detail

def self.diff(a : Array(Line), b : Array(Line)) #

[View source]

Instance Method Detail

def backward(box, vf, vb, d, &) #

[View source]
def diff : Array(Diff::Edit) #

[View source]
def find_path(left, top, right, bottom) #

[View source]
def forwards(box, vf, vb, d, &) #

[View source]
def midpoint(box) #

[View source]
def walk_diagonal(x1, y1, x2, y2, &block : Int32, Int32, Int32, Int32 -> ) #

[View source]
def walk_snakes(&block : Int32, Int32, Int32, Int32 -> ) #

[View source]