[ENH][Refactoring] InstructionPrinter ([er][et][su][sm][cd] by sd it improves the InstructionPrinter hierarchy and remove duplicated logic)

Stephane Ducasse ducasse at iam.unibe.ch
Sun Apr 13 12:32:13 UTC 2003

On Tuesday, April 8, 2003, at 01:20 PM, Marcus Denker wrote:

>  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
> <instrPrinter.6.cs.gz><InstVarRefLocatorTest.st.gz><InstructionClientTe 
> st.st.gz><InstructionPrinterTest.st.gz>
Prof. Dr. Stéphane DUCASSE
  "if you knew today was your last day on earth, what would you do  
different? ...  especially if,
  by doing something different, today might not be your last day on  
earth" Calvin&Hobbes

"The best way to predict the future is to invent it..." Alan Kay.

Open Source Smalltalks: http://www.squeak.org,  
Free books for Universities at  
Free Online Book at  

More information about the Squeak-dev mailing list