eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Diff3Hunk':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Diff3Hunk


Inheritance:

   Object
   |
   +--Diff3Hunk

Package:
stx:libtool
Category:
Collections-Sequenceable-Diff
Version:
rev: 1.4 date: 2021/01/20 13:19:17
user: cg
file: Diff3Hunk.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


A Diff3Hunk represents a change from the ancestor to either the left or the right branch as part of a three-way merge.

Instance Variables
    newChunk:       <DiffChunk> The new content chunk
    oldChunk:       <DiffChunk> The old (ancestral) content chunk
    side:           <Symbol> Either #left or #right


[instance variables:]

[class variables:]

copyright

Copyright (c) 2007-2012 Tony Garnock-Jones This code is based on Squeak's DiffMerge package written by Tony Garnock-Jones. Original project's web site: http://www.squeaksource.com/DiffMerge Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Class protocol:

as yet unclassified
o  side: aSelector entry: anAssociation


Instance protocol:

accessing
o  newChunk

o  newChunk: anObject

o  oldChunk

o  oldChunk: anObject

o  side

o  side: anObject

comparing
o  <= otherHunk

printing & storing
o  printOn: aStream
append a printed representation of the receiver to the argument, aStream



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 15:44:38 GMT