MediaWiki REL1_40
|
Performs a word-level diff on several lines. More...
Inherits Diff.
Public Member Functions | |
__construct ( $linesBefore, $linesAfter) | |
closing () | |
orig () | |
Public Member Functions inherited from Diff | |
getEdits () | |
isEmpty () | |
Check for empty diff. | |
lcs () | |
Compute the length of the Longest Common Subsequence (LCS). | |
reverse () | |
Compute reversed Diff. | |
Protected Attributes | |
$bailoutComplexity = 40000000 | |
Protected Attributes inherited from Diff | |
int | $bailoutComplexity = 0 |
If this diff complexity is exceeded, a ComplexityException is thrown 0 means no limit. | |
Additional Inherited Members | |
Public Attributes inherited from Diff | |
DiffOp[] | $edits |
Performs a word-level diff on several lines.
Definition at line 35 of file WordLevelDiff.php.
WordLevelDiff::__construct | ( | $linesBefore, | |
$linesAfter ) |
string[] | $linesBefore | |
string[] | $linesAfter |
Reimplemented from Diff.
Definition at line 48 of file WordLevelDiff.php.
WordLevelDiff::closing | ( | ) |
Reimplemented from Diff.
Definition at line 128 of file WordLevelDiff.php.
References $lines, and MediaWiki\Diff\WordAccumulator\addWords().
WordLevelDiff::orig | ( | ) |
Reimplemented from Diff.
Definition at line 110 of file WordLevelDiff.php.
References $lines, and MediaWiki\Diff\WordAccumulator\addWords().
|
protected |
Definition at line 39 of file WordLevelDiff.php.