|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Creates word-level marked-up versions of two text sequences. More...
Collaboration diagram for ILIAS\COPage\WordDiff\WordDiff:Public Member Functions | |
| __construct (array $original_lines, array $closing_lines) | |
| orig () | |
| closing () | |
Private Member Functions | |
| split (array $lines) | |
| findMatches (array $left, array $right) | |
| findMatchesInRange (array $left, array $right, int $left_offset, int $right_offset) | |
| lcsLengths (array $left, array $right) | |
| appendChangedTokens (array $tokens, string $tag, array &$output_tokens, array &$output_tags) | |
| render (array $tokens, array $tags) | |
| flushGroup (string &$line, string &$group, string $tag) | |
Private Attributes | |
| const | MAX_LINE_LENGTH = 10000 |
| array | $original |
| array | $closing |
Creates word-level marked-up versions of two text sequences.
Definition at line 26 of file class.WordDiff.php.
| ILIAS\COPage\WordDiff\WordDiff::__construct | ( | array | $original_lines, |
| array | $closing_lines | ||
| ) |
| list<string> | $original_lines |
| list<string> | $closing_lines |
Definition at line 40 of file class.WordDiff.php.
References ILIAS\COPage\WordDiff\WordDiff\appendChangedTokens(), ILIAS\COPage\WordDiff\WordDiff\closing(), ILIAS\COPage\WordDiff\WordDiff\findMatches(), ILIAS\COPage\WordDiff\WordDiff\render(), and ILIAS\COPage\WordDiff\WordDiff\split().
Here is the call graph for this function:
|
private |
| list<string> | $tokens |
| list<string> | $output_tokens |
| list<string> | $output_tags |
Definition at line 231 of file class.WordDiff.php.
References $token.
Referenced by ILIAS\COPage\WordDiff\WordDiff\__construct().
Here is the caller graph for this function:| ILIAS\COPage\WordDiff\WordDiff::closing | ( | ) |
Definition at line 99 of file class.WordDiff.php.
References ILIAS\COPage\WordDiff\WordDiff\$closing.
Referenced by ILIAS\COPage\WordDiff\WordDiff\__construct().
Here is the caller graph for this function:
|
private |
| list<string> | $left |
| list<string> | $right |
Definition at line 144 of file class.WordDiff.php.
References ILIAS\COPage\WordDiff\WordDiff\findMatchesInRange().
Referenced by ILIAS\COPage\WordDiff\WordDiff\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| list<string> | $left |
| list<string> | $right |
Definition at line 162 of file class.WordDiff.php.
Referenced by ILIAS\COPage\WordDiff\WordDiff\findMatches().
Here is the caller graph for this function:
|
private |
Definition at line 276 of file class.WordDiff.php.
|
private |
| list<string> | $left |
| list<string> | $right |
Definition at line 210 of file class.WordDiff.php.
| ILIAS\COPage\WordDiff\WordDiff::orig | ( | ) |
Definition at line 93 of file class.WordDiff.php.
References ILIAS\COPage\WordDiff\WordDiff\$original.
|
private |
| list<string> | $tokens |
| list<string> | $tags |
Definition at line 248 of file class.WordDiff.php.
References $token.
Referenced by ILIAS\COPage\WordDiff\WordDiff\__construct().
Here is the caller graph for this function:
|
private |
| list<string> | $lines |
Definition at line 108 of file class.WordDiff.php.
Referenced by ILIAS\COPage\WordDiff\WordDiff\__construct().
Here is the caller graph for this function:
|
private |
Definition at line 34 of file class.WordDiff.php.
Referenced by ILIAS\COPage\WordDiff\WordDiff\closing().
|
private |
Definition at line 31 of file class.WordDiff.php.
Referenced by ILIAS\COPage\WordDiff\WordDiff\orig().
|
private |
Definition at line 28 of file class.WordDiff.php.