MediaWiki REL1_27
|
Public Member Functions | |
__construct ( $orig_lines, $closing_lines) | |
closing () | |
orig () | |
![]() | |
__construct ( $from_lines, $to_lines, $mapped_from_lines, $mapped_to_lines) | |
Constructor. | |
![]() | |
getEdits () | |
isEmpty () | |
Check for empty diff. | |
lcs () | |
Compute the length of the Longest Common Subsequence (LCS). | |
reverse () | |
Compute reversed Diff. | |
Public Attributes | |
const | MAX_LINE_LENGTH = 10000 |
![]() | |
DiffOp[] | $edits |
Private Member Functions | |
split ( $lines) | |
WordLevelDiff::__construct | ( | $orig_lines, | |
$closing_lines | |||
) |
string[] | $orig_lines | |
string[] | $closing_lines |
Reimplemented from Diff.
Definition at line 709 of file DairikiDiff.php.
WordLevelDiff::closing | ( | ) |
Reimplemented from Diff.
Definition at line 779 of file DairikiDiff.php.
References $lines, HWLDFWordAccumulator\addWords(), as, and edits.
WordLevelDiff::orig | ( | ) |
Reimplemented from Diff.
Definition at line 761 of file DairikiDiff.php.
References $lines, HWLDFWordAccumulator\addWords(), as, and edits.
|
private |
string[] | $lines |
Definition at line 723 of file DairikiDiff.php.
References $line, $lines, and as.
Referenced by __construct().
const WordLevelDiff::MAX_LINE_LENGTH = 10000 |
Definition at line 703 of file DairikiDiff.php.