struct Grits::LineData
- Grits::LineData
- Struct
- Value
- Object
Defined in:
grits/diff/diff_line.crConstructors
Instance Method Summary
- #clone
- #content : String
- #content_offset : Int64
- #copy_with(origin _origin = @origin, new_lineno _new_lineno = @new_lineno, old_lineno _old_lineno = @old_lineno, num_lines _num_lines = @num_lines, content_offset _content_offset = @content_offset, content _content = @content, hunk _hunk = @hunk)
- #hunk : HunkData
- #new_lineno : Int32
- #num_lines : Int64
- #old_lineno : Int32
- #origin : Char
Constructor Detail
def self.new(origin : Char, new_lineno : Int32, old_lineno : Int32, num_lines : Int64, content_offset : Int64, content : String, hunk : HunkData)
#
Instance Method Detail
def copy_with(origin _origin = @origin, new_lineno _new_lineno = @new_lineno, old_lineno _old_lineno = @old_lineno, num_lines _num_lines = @num_lines, content_offset _content_offset = @content_offset, content _content = @content, hunk _hunk = @hunk)
#