[ENH][Refactoring] InstructionPrinter

Marcus Denker marcus at ira.uka.de
Tue Apr 8 11:20:32 UTC 2003


 Change Set:		instrPrinter
 Date:			8 April 2003
 Author:			Marcus Denker

 A refactoring for InstructionPrinter,
 AbstractInstructionPrinter and InstVarRefLocator:

 AbstractInstructionPrinter: 

 moved the instVar and a method into InstVarRefLocator, now this class can
 be used as a Abstract Superclass for
 both InstructionPrinter and InstVarRefLocator

 Renamed to InstructionClient (c.f. VisualWorks).

 InstructionPrinter: refactored to be a
 subclass of InstructionClient"

Tests are provided for the three changed classes, see attached files:

 InstructionClientTest.st.gz
 InstructionPrinterTest.st.gz
 InstVarRefLocatorTest.st.gz

-- 
Marcus Denker marcus at ira.uka.de  -- Squeak! http://squeak.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: instrPrinter.6.cs.gz
Type: application/x-gunzip
Size: 2090 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030408/94048e06/instrPrinter.6.cs.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InstVarRefLocatorTest.st.gz
Type: application/x-gunzip
Size: 896 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030408/94048e06/InstVarRefLocatorTest.st.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InstructionClientTest.st.gz
Type: application/x-gunzip
Size: 662 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030408/94048e06/InstructionClientTest.st.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InstructionPrinterTest.st.gz
Type: application/x-gunzip
Size: 939 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030408/94048e06/InstructionPrinterTest.st.bin


More information about the Squeak-dev mailing list