class WordLevelDiff

@todo document @private @subpackage DifferenceEngine

Hierarchy

File

core/lib/Drupal/Component/Diff/WordLevelDiff.php, line 13

Namespace

Drupal\Component\Diff

Members

Name Modifiers Type Description
Diff::$edits protected property The list of differences as an array of diff operations.
Diff::check public function Check a Diff for validity.
Diff::getEdits public function Gets the list of differences as an array of diff operations.
Diff::isEmpty public function Check for empty diff.
Diff::lcs public function Compute the length of the Longest Common Subsequence (LCS).
Diff::reverse public function Compute reversed Diff.
WordLevelDiff::closing public function Gets the closing set of lines. Overrides Diff::closing
WordLevelDiff::MAX_LINE_LENGTH constant
WordLevelDiff::orig public function Gets the original set of lines. Overrides Diff::orig
WordLevelDiff::_split protected function
WordLevelDiff::__construct public function Constructor. Overrides MappedDiff::__construct

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Diff!WordLevelDiff.php/class/WordLevelDiff/8.1.x