edit_t Derived Type

type, private :: edit_t

The edits that turn the lines of one text into those of the other, in order.


Components

Type Visibility Attributes Name Initial
integer, public :: n = 0

number of edits in op

integer, public, allocatable :: op(:)

OP_EQUAL, OP_DELETE (line of a) or OP_INSERT (line of b)


Source Code

type :: edit_t
    !! The edits that turn the lines of one text into those of the other, in order.
    integer, allocatable :: op(:)   !! OP_EQUAL, OP_DELETE (line of a) or OP_INSERT (line of b)
    integer :: n = 0                !! number of edits in `op`
end type edit_t