MediaWiki REL1_31
|
Performs a word-level diff on several lines. More...
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 | |
@inheritDoc | |
Protected Attributes inherited from Diff | |
int | $bailoutComplexity = 0 |
If this diff complexity is exceeded, a ComplexityException is thrown 0 means no limit. | |
Private Member Functions | |
split ( $lines) | |
Additional Inherited Members | |
Public Attributes inherited from Diff | |
DiffOp[] | $edits |
Performs a word-level diff on several lines.
Definition at line 34 of file WordLevelDiff.php.
WordLevelDiff::__construct | ( | $linesBefore, | |
$linesAfter ) |
WordLevelDiff::closing | ( | ) |
Reimplemented from Diff.
Definition at line 124 of file WordLevelDiff.php.
References $lines, MediaWiki\Diff\WordAccumulator\addWords(), and edits.
WordLevelDiff::orig | ( | ) |
Reimplemented from Diff.
Definition at line 106 of file WordLevelDiff.php.
References $lines, MediaWiki\Diff\WordAccumulator\addWords(), and edits.
|
private |
string[] | $lines |
Definition at line 77 of file WordLevelDiff.php.
Referenced by __construct().
|
protected |
@inheritDoc
Definition at line 38 of file WordLevelDiff.php.