md: just tested under 3.7a. works ok. the functionality is quite nice, and we allready have special Inpectors for Dictionary...
from preamble:
"Change Set: InspectorEnh-ajh Date: 22 June 2003 Author: Anthony Hannan
Adds #inspectorClass protocol that #inspect calls to find the appropriate inspector for the receiver. #basicInspect uses a new generic inspector called BasicInspector. CompiledMethods use a new inspector class call CompiledMethodInspector, which display mnemonic bytecode instructions and literals. An inspector will change to the appropriate class when being updated with a new receiver.
String asExplorerString has been changed to print its normal printString. "!
Looks good. Also, changing String>>asExplorerString to use #printString is nice.
A futher refactoring that could be done at some point is to change most of the implementors of #inspect (Dictionary, OrderedCollection, etc.) to implement #inspectorClass instead.
- Doug
On Tuesday, November 25, 2003, at 01:42 PM, marcus@ira.uka.de wrote:
md: just tested under 3.7a. works ok. the functionality is quite nice, and we allready have special Inpectors for Dictionary...
from preamble:
"Change Set: InspectorEnh-ajh Date: 22 June 2003 Author: Anthony Hannan
Adds #inspectorClass protocol that #inspect calls to find the appropriate inspector for the receiver. #basicInspect uses a new generic inspector called BasicInspector. CompiledMethods use a new inspector class call CompiledMethodInspector, which display mnemonic bytecode instructions and literals. An inspector will change to the appropriate class when being updated with a new receiver.
String asExplorerString has been changed to print its normal printString. "!
<InspectorEnh-ajh.cs.gz>
squeak-dev@lists.squeakfoundation.org