class Diff

Class representing a 'diff' between two sequences of strings. @todo document @private @subpackage DifferenceEngine

Hierarchy

Expanded class hierarchy of Diff

File

drupal/core/lib/Drupal/Component/Diff/DiffEngine.php, line 568
A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)

View source

Members

Namesort descending Modifiers Type Description Overrides
Diff::$edits property
Diff::closing function Get the closing set of lines. 1
Diff::Diff function Constructor. Computes diff between sequences of strings.
Diff::isEmpty function Check for empty diff.
Diff::lcs function Compute the length of the Longest Common Subsequence (LCS).
Diff::orig function Get the original set of lines. 1
Diff::reverse function Compute reversed Diff.
Diff::_check function Check a Diff for validity.