ona  18.1.1
About: OpenNetAdmin provides a database managed inventory of your IP network (with Web and CLI interface).
  Fossies Dox: ona-18.1.1.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

WordLevelDiff Class Reference
Inheritance diagram for WordLevelDiff:
[legend]
Collaboration diagram for WordLevelDiff:
[legend]

Public Member Functions

 WordLevelDiff ($orig_lines, $closing_lines)
 
 _split ($lines)
 
 orig ()
 
 closing ()
 
- Public Member Functions inherited from MappedDiff
 MappedDiff ($from_lines, $to_lines, $mapped_from_lines, $mapped_to_lines)
 
- Public Member Functions inherited from Diff
 Diff ($from_lines, $to_lines)
 
 reverse ()
 
 isEmpty ()
 
 lcs ()
 
 _check ($from_lines, $to_lines)
 

Additional Inherited Members

- Public Attributes inherited from Diff
 $edits
 

Detailed Description

Definition at line 890 of file DifferenceEngine.php.

Member Function Documentation

◆ _split()

WordLevelDiff::_split (   $lines)

Definition at line 901 of file DifferenceEngine.php.

Referenced by WordLevelDiff().

◆ closing()

WordLevelDiff::closing ( )

Get the closing set of lines.

This reconstructs the $to_lines parameter passed to the constructor.

Returns
array The sequence of strings.

Reimplemented from Diff.

Definition at line 924 of file DifferenceEngine.php.

References _HWLDF_WordAccumulator\addWords().

◆ orig()

WordLevelDiff::orig ( )

Get the original set of lines.

This reconstructs the $from_lines parameter passed to the constructor.

Returns
array The original sequence of strings.

Reimplemented from Diff.

Definition at line 912 of file DifferenceEngine.php.

References _HWLDF_WordAccumulator\addWords().

◆ WordLevelDiff()

WordLevelDiff::WordLevelDiff (   $orig_lines,
  $closing_lines 
)

Definition at line 892 of file DifferenceEngine.php.

References _split(), and MappedDiff\MappedDiff().


The documentation for this class was generated from the following file: