|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for WordLevelDiff:
Collaboration diagram for WordLevelDiff:Public Member Functions | |
| __construct ($orig_lines, $closing_lines) | |
| Constructor. More... | |
| _split ($lines) | |
| orig () | |
| Get the original set of lines. More... | |
| closing () | |
| Get the closing set of lines. More... | |
Public Member Functions inherited from MappedDiff | |
| __construct ( $from_lines, $to_lines, $mapped_from_lines, $mapped_to_lines) | |
| Constructor. More... | |
Public Member Functions inherited from Diff | |
| __construct ($from_lines, $to_lines) | |
| Constructor. More... | |
| reverse () | |
| Compute reversed Diff. More... | |
| isEmpty () | |
| Check for empty diff. More... | |
| lcs () | |
| Compute the length of the Longest Common Subsequence (LCS). More... | |
| orig () | |
| Get the original set of lines. More... | |
| closing () | |
| Get the closing set of lines. More... | |
| _check ($from_lines, $to_lines) | |
| Check a Diff for validity. More... | |
Data Fields | |
| const | MAX_LINE_LENGTH = 10000 |
Data Fields inherited from Diff | |
| $edits | |
Definition at line 1786 of file class.WordLevelDiff.php.
| WordLevelDiff::__construct | ( | $from_lines, | |
| $to_lines | |||
| ) |
Constructor.
Computes diff between sequences of strings.
| $from_lines | array An array of strings. (Typically these are lines from a file.) |
| $to_lines | array An array of strings. |
Reimplemented from Diff.
Definition at line 1790 of file class.WordLevelDiff.php.
References _split().
Here is the call graph for this function:| WordLevelDiff::_split | ( | $lines | ) |
Definition at line 1807 of file class.WordLevelDiff.php.
References $m.
Referenced by __construct().
Here is the caller graph for this function:| WordLevelDiff::closing | ( | ) |
Get the closing set of lines.
This reconstructs the $to_lines parameter passed to the constructor.
Reimplemented from Diff.
Definition at line 1861 of file class.WordLevelDiff.php.
References _HWLDF_WordAccumulator\addWords().
Here is the call graph for this function:| WordLevelDiff::orig | ( | ) |
Get the original set of lines.
This reconstructs the $from_lines parameter passed to the constructor.
Reimplemented from Diff.
Definition at line 1843 of file class.WordLevelDiff.php.
References _HWLDF_WordAccumulator\addWords().
Here is the call graph for this function:| const WordLevelDiff::MAX_LINE_LENGTH = 10000 |
Definition at line 1788 of file class.WordLevelDiff.php.