22813
|
1 |
"{ Encoding: utf8 }"
|
|
2 |
|
11912
|
3 |
"
|
|
4 |
COPYRIGHT (c) 2009 by eXept Software AG
|
|
5 |
All Rights Reserved
|
|
6 |
|
|
7 |
This software is furnished under a license and may be used
|
|
8 |
only in accordance with the terms of that license and with the
|
21941
|
9 |
inclusion of the above copyright notice. This software may not
|
11912
|
10 |
be provided or otherwise made available to, or used by, any
|
|
11 |
other person. No title to or ownership of the software is
|
|
12 |
hereby transferred.
|
|
13 |
"
|
11444
|
14 |
"{ Package: 'stx:libbasic' }"
|
|
15 |
|
18459
|
16 |
"{ NameSpace: Smalltalk }"
|
|
17 |
|
11444
|
18 |
Object subclass:#InlineObject
|
|
19 |
instanceVariableNames:''
|
24400
|
20 |
classVariableNames:'MapOfImmutableClasses MapOfMutableClasses'
|
11444
|
21 |
poolDictionaries:''
|
22813
|
22 |
category:'Kernel-Classes'
|
|
23 |
!
|
|
24 |
|
24525
|
25 |
ClassDescription subclass:#InlineObjectClassDescription
|
|
26 |
instanceVariableNames:'name'
|
|
27 |
classVariableNames:''
|
|
28 |
poolDictionaries:''
|
|
29 |
privateIn:InlineObject
|
|
30 |
!
|
|
31 |
|
22813
|
32 |
InlineObject subclass:#InlineObjectPrototype
|
|
33 |
instanceVariableNames:'i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18
|
|
34 |
i19 i20 i21 i22 i23 i24 i25 i26 i27 i28 i29 i30 i31 i32 i33 i34
|
|
35 |
i35 i36 i37 i38 i39 i40 i41 i42 i43 i44 i45 i46 i47 i48 i49 i50
|
|
36 |
i51 i52 i53 i54 i55 i56 i57 i58 i59 i60 i61 i62 i63 i64 i65 i66
|
|
37 |
i67 i68 i69 i70 i71 i72 i73 i74 i75 i76 i77 i78 i79 i80 i81 i82
|
|
38 |
i83 i84 i85 i86 i87 i88 i89 i90 i91 i92 i93 i94 i95 i96 i97 i98
|
|
39 |
i99 i100'
|
|
40 |
classVariableNames:''
|
|
41 |
poolDictionaries:''
|
|
42 |
privateIn:InlineObject
|
11444
|
43 |
!
|
|
44 |
|
11912
|
45 |
!InlineObject class methodsFor:'documentation'!
|
|
46 |
|
|
47 |
copyright
|
|
48 |
"
|
|
49 |
COPYRIGHT (c) 2009 by eXept Software AG
|
|
50 |
All Rights Reserved
|
|
51 |
|
|
52 |
This software is furnished under a license and may be used
|
|
53 |
only in accordance with the terms of that license and with the
|
21941
|
54 |
inclusion of the above copyright notice. This software may not
|
11912
|
55 |
be provided or otherwise made available to, or used by, any
|
|
56 |
other person. No title to or ownership of the software is
|
|
57 |
hereby transferred.
|
|
58 |
"
|
|
59 |
!
|
|
60 |
|
|
61 |
documentation
|
|
62 |
"
|
11913
|
63 |
WARNING: InlineObjects are an experimental feature.
|
|
64 |
|
|
65 |
InlineObjects are written as literals of the form:
|
11912
|
66 |
|
25274
|
67 |
#{
|
|
68 |
fieldName1: value1.
|
|
69 |
fieldName2: value2.
|
|
70 |
...
|
|
71 |
fieldNameN: valueN.
|
|
72 |
}
|
11912
|
73 |
|
|
74 |
For example:
|
|
75 |
|
25274
|
76 |
#{
|
|
77 |
firstName: 'Peter'.
|
|
78 |
lastName: 'Miller'.
|
|
79 |
age: 25.
|
|
80 |
}
|
21941
|
81 |
|
25274
|
82 |
The above was an inline literal: all field values must be again literals.
|
|
83 |
|
25275
|
84 |
WARNING: the following is currently ONLY experimental,
|
|
85 |
and may or may not be supported by stc.
|
|
86 |
Do not use non-literal inline objects at the moment.
|
|
87 |
|
25274
|
88 |
However, similar to brace-Arrays, inline objects can also be dynamically created (constructed):
|
|
89 |
{
|
|
90 |
date: Date today.
|
|
91 |
time: Time now.
|
|
92 |
}
|
22846
|
93 |
|
18459
|
94 |
All inlineObjects will be instances of an anonymous subclass of me,
|
21941
|
95 |
and provide getter protocol for their fields (e.g. firstName, lastName and age in the above example.
|
25274
|
96 |
Literal InlineObjects are immutable (no setters), whereas constructed are not.
|
|
97 |
|
|
98 |
|foo|
|
|
99 |
foo := { date: Date today. time: Time now }.
|
|
100 |
foo date:(Date yesterday).
|
|
101 |
foo
|
11912
|
102 |
"
|
|
103 |
! !
|
|
104 |
|
23622
|
105 |
!InlineObject class methodsFor:'instance creation'!
|
23621
|
106 |
|
|
107 |
slotNames:names values:slotValues
|
|
108 |
"return a new inline object given slot names and slot values"
|
|
109 |
|
24361
|
110 |
^ self slotNames:names values:slotValues mutable:true
|
|
111 |
|
|
112 |
"
|
|
113 |
InlineObject slotNames:#('foo' 'bar' 'baz') values:#(1 2 3)
|
|
114 |
InlineObject slotNames:#('foo' 'bar' 'baz') values:#(1 2 3) mutable:false
|
|
115 |
"
|
|
116 |
|
|
117 |
"Created: / 21-01-2019 / 13:10:14 / Claus Gittinger"
|
|
118 |
"Modified (comment): / 25-06-2019 / 16:43:03 / Claus Gittinger"
|
|
119 |
!
|
23621
|
120 |
|
24361
|
121 |
slotNames:names values:slotValues mutable:mutable
|
|
122 |
"return a new inline object given slot names and slot values"
|
|
123 |
|
24516
|
124 |
|subclass inst|
|
24361
|
125 |
|
24516
|
126 |
subclass := self classForSlotNames:names mutable:mutable.
|
24361
|
127 |
|
|
128 |
"/ need a new array here, because we changeClassTo:
|
24516
|
129 |
slotValues class == Array ifTrue:[
|
|
130 |
inst := slotValues shallowCopy changeClassTo:subclass.
|
|
131 |
] ifFalse:[
|
|
132 |
inst := (Array withAll:slotValues) changeClassTo:subclass.
|
|
133 |
].
|
23621
|
134 |
^ inst
|
|
135 |
|
|
136 |
"
|
|
137 |
InlineObject slotNames:#('foo' 'bar' 'baz') values:#(1 2 3)
|
24516
|
138 |
InlineObject slotNames:#('foo' 'bar') values:#(1 2)
|
23621
|
139 |
"
|
|
140 |
|
24361
|
141 |
"Created: / 25-06-2019 / 16:40:36 / Claus Gittinger"
|
24400
|
142 |
"Modified: / 28-06-2019 / 14:38:32 / Claus Gittinger"
|
23621
|
143 |
!
|
|
144 |
|
|
145 |
slotNamesAndValues:namesAndValues
|
|
146 |
"return a new inline object given slot names and slot values as alternating elements
|
|
147 |
in the argument, namesAndValues"
|
|
148 |
|
24362
|
149 |
^ self
|
|
150 |
slotNames:(namesAndValues keysAndValuesSelect:[:idx :val | idx odd])
|
|
151 |
values:(namesAndValues keysAndValuesSelect:[:idx :val | idx even])
|
|
152 |
mutable:true
|
23621
|
153 |
|
|
154 |
"
|
|
155 |
InlineObject slotNamesAndValues:#('foo' 10 'bar' 20 'baz' 30)
|
|
156 |
"
|
|
157 |
|
|
158 |
"Created: / 21-01-2019 / 13:15:46 / Claus Gittinger"
|
24362
|
159 |
"Modified: / 25-06-2019 / 16:55:02 / Claus Gittinger"
|
|
160 |
!
|
|
161 |
|
|
162 |
slotNamesAndValues:namesAndValues mutable:beMutable
|
|
163 |
"return a new inline object given slot names and slot values as alternating elements
|
|
164 |
in the argument, namesAndValues"
|
|
165 |
|
|
166 |
^ self
|
|
167 |
slotNames:(namesAndValues keysAndValuesSelect:[:idx :val | idx odd])
|
|
168 |
values:(namesAndValues keysAndValuesSelect:[:idx :val | idx even])
|
|
169 |
mutable:beMutable
|
|
170 |
|
|
171 |
"
|
|
172 |
InlineObject slotNamesAndValues:#('foo' 10 'bar' 20 'baz' 30)
|
|
173 |
"
|
|
174 |
|
|
175 |
"Created: / 25-06-2019 / 16:54:47 / Claus Gittinger"
|
24361
|
176 |
!
|
|
177 |
|
|
178 |
slotNamesAndValuesFromDictionary:namesAndValuesDict
|
|
179 |
"return a new inline object given slot names and slot values as elements
|
|
180 |
in the argument, namesAndValuesDict"
|
|
181 |
|
24362
|
182 |
^ self slotNamesAndValuesFromDictionary:namesAndValuesDict mutable:true
|
|
183 |
|
|
184 |
"
|
|
185 |
InlineObject slotNamesAndValuesFromDictionary:(Dictionary withKeyValuePairs:#(('foo' 10) ('bar' 20) ('baz' 30)))
|
|
186 |
"
|
|
187 |
|
|
188 |
"Created: / 25-06-2019 / 16:31:38 / Claus Gittinger"
|
|
189 |
!
|
|
190 |
|
|
191 |
slotNamesAndValuesFromDictionary:namesAndValuesDict mutable:beMutable
|
24525
|
192 |
"return a new inline object, given slot names and slot values as elements
|
|
193 |
in the argument, namesAndValuesDict.
|
|
194 |
If the dictionary is unordered, slots are created in the sorted key order"
|
24362
|
195 |
|
24361
|
196 |
|sz keys values idx|
|
|
197 |
|
|
198 |
sz := namesAndValuesDict size.
|
|
199 |
keys := Array new:sz.
|
|
200 |
values := Array new:sz.
|
|
201 |
idx := 1.
|
24525
|
202 |
namesAndValuesDict isOrdered ifTrue:[
|
|
203 |
namesAndValuesDict keysAndValuesDo:[:k :v |
|
|
204 |
keys at:idx put:k.
|
|
205 |
values at:idx put:v.
|
|
206 |
idx := idx + 1.
|
|
207 |
].
|
|
208 |
] ifFalse:[
|
|
209 |
namesAndValuesDict keysSorted do:[:k |
|
|
210 |
keys at:idx put:k.
|
|
211 |
values at:idx put:(namesAndValuesDict at:k).
|
|
212 |
idx := idx + 1.
|
|
213 |
]
|
24361
|
214 |
].
|
24362
|
215 |
^ self slotNames:keys values:values mutable:beMutable
|
24361
|
216 |
|
|
217 |
"
|
24525
|
218 |
InlineObject
|
|
219 |
slotNamesAndValuesFromDictionary:(
|
|
220 |
Dictionary withKeyValuePairs:#(('foo' 10) ('bar' 20) ('baz' 30))
|
|
221 |
)
|
|
222 |
|
|
223 |
InlineObject
|
|
224 |
slotNamesAndValuesFromDictionary:(
|
|
225 |
OrderedDictionary withKeyValuePairs:#( ('bar' 20) ('baz' 30) ('foo' 10) )
|
|
226 |
)
|
24361
|
227 |
"
|
|
228 |
|
24362
|
229 |
"Created: / 25-06-2019 / 16:53:50 / Claus Gittinger"
|
24518
|
230 |
! !
|
24511
|
231 |
|
24518
|
232 |
!InlineObject class methodsFor:'flushing'!
|
24513
|
233 |
|
24518
|
234 |
flushMapOfClasses
|
|
235 |
MapOfMutableClasses := MapOfImmutableClasses := nil
|
24511
|
236 |
|
24518
|
237 |
"Created: / 22-01-2019 / 17:02:59 / Claus Gittinger"
|
|
238 |
"Modified: / 25-06-2019 / 16:43:23 / Claus Gittinger"
|
22813
|
239 |
! !
|
|
240 |
|
23622
|
241 |
!InlineObject class methodsFor:'prototype access'!
|
|
242 |
|
|
243 |
prototype
|
|
244 |
^ InlineObjectPrototype
|
|
245 |
! !
|
|
246 |
|
24511
|
247 |
!InlineObject class methodsFor:'queries'!
|
|
248 |
|
24518
|
249 |
classForSlotNames:slotNames mutable:mutable
|
|
250 |
"return either an existing or a new class to represent
|
|
251 |
an inline object given its slot names"
|
|
252 |
|
|
253 |
|map class|
|
|
254 |
|
|
255 |
mutable ifTrue:[
|
|
256 |
(map := MapOfMutableClasses) isNil ifTrue:[
|
|
257 |
map := MapOfMutableClasses := Dictionary new.
|
|
258 |
]
|
|
259 |
] ifFalse:[
|
|
260 |
(map := MapOfImmutableClasses) isNil ifTrue:[
|
|
261 |
map := MapOfImmutableClasses := Dictionary new.
|
|
262 |
]
|
|
263 |
].
|
|
264 |
|
|
265 |
(class := map at:slotNames ifAbsent:nil) isNil ifTrue:[
|
|
266 |
Class withoutUpdatingChangesDo:[
|
|
267 |
|protoClass numProtoAccessMethods|
|
|
268 |
|
|
269 |
false ifTrue:[
|
|
270 |
"/ OLD:
|
|
271 |
class := self
|
|
272 |
subclass:#AnonymousInlineObject
|
|
273 |
instanceVariableNames:slotNames
|
|
274 |
classVariableNames:nil
|
|
275 |
poolDictionaries:nil
|
|
276 |
category:nil
|
|
277 |
inEnvironment:nil.
|
|
278 |
slotNames do:[:each |
|
|
279 |
class compile:('%1 ^ %1' bindWith:each)
|
|
280 |
categorized:'accessing'.
|
|
281 |
mutable ifTrue:[
|
|
282 |
class compile:('%1:arg %1 := arg.' bindWith:each)
|
|
283 |
categorized:'accessing'.
|
|
284 |
].
|
|
285 |
].
|
|
286 |
] ifFalse:[
|
|
287 |
"/ NEW:
|
|
288 |
|
|
289 |
class := InlineObjectClassDescription new.
|
|
290 |
class setSuperclass: InlineObject.
|
|
291 |
class setInstVarNames:slotNames.
|
|
292 |
class instSize: slotNames size.
|
|
293 |
|
|
294 |
protoClass := InlineObjectPrototype.
|
|
295 |
numProtoAccessMethods := protoClass instSize.
|
|
296 |
slotNames keysAndValuesDo:[:idx :instVarName |
|
|
297 |
|protoMethod|
|
|
298 |
|
|
299 |
idx <= numProtoAccessMethods ifTrue:[
|
|
300 |
protoMethod := protoClass compiledMethodAt:('i%1' bindWith:idx) asSymbol.
|
|
301 |
class basicAddSelector:instVarName asSymbol withMethod:protoMethod.
|
|
302 |
"/ fixup: undo side effect of adding selector (mclass changed)
|
|
303 |
protoMethod mclass:protoClass.
|
|
304 |
|
|
305 |
mutable ifTrue:[
|
|
306 |
protoMethod := protoClass compiledMethodAt:('i%1:' bindWith:idx) asSymbol.
|
|
307 |
class basicAddSelector:(instVarName asMutator) withMethod:protoMethod.
|
|
308 |
"/ fixup: undo side effect of adding selector (mclass changed)
|
|
309 |
protoMethod mclass:protoClass.
|
|
310 |
].
|
|
311 |
] ifFalse:[
|
|
312 |
Compiler compile:('%1 ^%1' bindWith:instVarName) forClass:class.
|
|
313 |
mutable ifTrue:[
|
|
314 |
Compiler compile:('%1:something %1 := something' bindWith:instVarName) forClass:class.
|
|
315 |
].
|
|
316 |
].
|
|
317 |
].
|
|
318 |
].
|
|
319 |
map at:slotNames put:class.
|
|
320 |
].
|
|
321 |
].
|
|
322 |
^ class
|
|
323 |
|
|
324 |
"
|
|
325 |
|cls1 cls2|
|
|
326 |
|
|
327 |
cls1 := self classForSlotNames:#('foo' 'bar' 'baz') mutable:false.
|
|
328 |
cls2 := self classForSlotNames:#('foo' 'bar' 'baz') mutable:true.
|
|
329 |
self assert:(self classForSlotNames:#('foo' 'bar' 'baz') mutable:false) == cls1.
|
|
330 |
self assert:(self classForSlotNames:#('foo' 'bar' 'baz') mutable:true) == cls2.
|
|
331 |
"
|
|
332 |
|
|
333 |
"Created: / 25-06-2019 / 16:40:36 / Claus Gittinger"
|
|
334 |
"Modified: / 28-06-2019 / 14:38:32 / Claus Gittinger"
|
|
335 |
!
|
|
336 |
|
24511
|
337 |
isAbstract
|
|
338 |
"Return if this class is an abstract class.
|
|
339 |
True is returned here for myself only; false for subclasses.
|
|
340 |
Abstract subclasses must redefine this again."
|
|
341 |
|
|
342 |
^ self == InlineObject.
|
|
343 |
! !
|
|
344 |
|
24522
|
345 |
!InlineObject methodsFor:'comparing'!
|
|
346 |
|
|
347 |
= someObject
|
|
348 |
"I conside someObject to be equal, if it has the same slotnames"
|
|
349 |
|
|
350 |
|myInstSize|
|
|
351 |
|
|
352 |
myInstSize := self class instSize.
|
|
353 |
someObject class == self class ifFalse:[
|
|
354 |
someObject class instSize == myInstSize ifFalse:[^ false].
|
|
355 |
someObject isInlineObject ifTrue:[
|
|
356 |
self class allInstVarNames keysAndValuesDo:[:i :nm |
|
|
357 |
|mySlotValue otherSlotValue|
|
|
358 |
|
|
359 |
mySlotValue := self instVarAt:i.
|
|
360 |
otherSlotValue := someObject perform:nm asSymbol ifNotUnderstood:[^ false].
|
|
361 |
mySlotValue = otherSlotValue ifFalse:[^ false].
|
|
362 |
].
|
|
363 |
^ true
|
|
364 |
].
|
|
365 |
^ false
|
|
366 |
].
|
|
367 |
1 to:myInstSize do:[:i |
|
|
368 |
((self instVarAt:i) = (someObject instVarAt:i)) ifFalse:[^ false].
|
|
369 |
].
|
|
370 |
^ true.
|
|
371 |
|
|
372 |
"
|
|
373 |
|o1 o2 o3|
|
|
374 |
|
|
375 |
o1 := #{ foo: 1 . bar: 2 }.
|
|
376 |
o2 := #{ foo: 1 . bar: 2 }.
|
|
377 |
self assert:(o1 = o2).
|
|
378 |
self assert:(o1 == o2) not.
|
|
379 |
o3 := #{ bar: 2 . foo: 1 }.
|
|
380 |
self assert:(o1 = o3).
|
|
381 |
self assert:(o2 = o3).
|
|
382 |
"
|
|
383 |
!
|
|
384 |
|
|
385 |
hash
|
|
386 |
"I redefine =; so I also have to redefine hash"
|
|
387 |
|
|
388 |
|h myInstSize|
|
|
389 |
|
|
390 |
myInstSize := self class instSize.
|
|
391 |
h := 0.
|
|
392 |
1 to:myInstSize do:[:i |
|
|
393 |
h := h bitXor:((self instVarAt:i) hash)
|
|
394 |
].
|
|
395 |
^ h.
|
|
396 |
|
|
397 |
"
|
|
398 |
|o1 o2 o3|
|
|
399 |
|
|
400 |
o1 := #{ foo: 1 . bar: 2 }.
|
|
401 |
o2 := #{ foo: 1 . bar: 2 }.
|
|
402 |
self assert:(o1 = o2).
|
|
403 |
self assert:(o1 hash = o2 hash).
|
|
404 |
self assert:(o1 == o2) not.
|
|
405 |
o3 := #{ bar: 2 . foo: 1 }.
|
|
406 |
self assert:(o1 = o3).
|
|
407 |
self assert:(o1 hash = o3 hash).
|
|
408 |
"
|
|
409 |
!
|
|
410 |
|
|
411 |
isInlineObject
|
|
412 |
^ true
|
|
413 |
! !
|
|
414 |
|
11912
|
415 |
!InlineObject methodsFor:'printing & storing'!
|
|
416 |
|
24522
|
417 |
displayOn:aStream
|
|
418 |
aStream nextPutAll:self classNameWithArticle.
|
|
419 |
aStream nextPutAll:' '.
|
|
420 |
self storeOn:aStream.
|
|
421 |
|
|
422 |
"
|
|
423 |
#{ foo: 1 . bar: 2 } displayString
|
|
424 |
"
|
|
425 |
!
|
|
426 |
|
11912
|
427 |
storeOn:aStream
|
|
428 |
aStream nextPutAll:'#{'.
|
|
429 |
self class allInstVarNames keysAndValuesDo:[:i :nm |
|
24522
|
430 |
i ~~ 1 ifTrue:[
|
|
431 |
aStream nextPutAll:' . '.
|
|
432 |
].
|
11912
|
433 |
aStream nextPutAll:nm; nextPutAll:':'.
|
|
434 |
(self instVarAt:i) storeOn:aStream.
|
|
435 |
].
|
|
436 |
aStream nextPutAll:'}'.
|
24522
|
437 |
|
|
438 |
"
|
|
439 |
#{ foo: 1 . bar: 2 } storeString
|
|
440 |
Object readFrom:( #{ foo: 1 . bar: 2 } storeString)
|
|
441 |
"
|
11912
|
442 |
! !
|
11444
|
443 |
|
24525
|
444 |
!InlineObject::InlineObjectClassDescription class methodsFor:'documentation'!
|
|
445 |
|
|
446 |
copyright
|
|
447 |
"
|
|
448 |
COPYRIGHT (c) 2009 by eXept Software AG
|
|
449 |
All Rights Reserved
|
|
450 |
|
|
451 |
This software is furnished under a license and may be used
|
|
452 |
only in accordance with the terms of that license and with the
|
|
453 |
inclusion of the above copyright notice. This software may not
|
|
454 |
be provided or otherwise made available to, or used by, any
|
|
455 |
other person. No title to or ownership of the software is
|
|
456 |
hereby transferred.
|
|
457 |
"
|
|
458 |
!
|
|
459 |
|
|
460 |
documentation
|
|
461 |
"
|
|
462 |
inline objects are an experimental feature in ST/X
|
|
463 |
(and currently not used by the system).
|
|
464 |
Inline literal objects are created by the parsers/compilers with the following
|
|
465 |
syntax:
|
|
466 |
#{
|
|
467 |
<slotName1>: value .
|
|
468 |
<slotName2>: value .
|
|
469 |
...
|
|
470 |
}
|
|
471 |
where each value is a literal, separated by period from the next
|
|
472 |
i.e. similar to the brace-array construct { expr1 . expr2... }
|
|
473 |
|
|
474 |
For every inline object, an anonymous class is created,
|
|
475 |
providing getters and setters for the slots.
|
|
476 |
(if literal objects are immutable (which is the default),
|
|
477 |
no setters are generated)
|
|
478 |
|
|
479 |
You cannot add any semantic (i.e. methods) to inline objects -
|
|
480 |
they are only useful as containers with a nicer protocol
|
|
481 |
as compared to dictionaries or arrays.
|
|
482 |
|
|
483 |
All such created classes will be subclasses of me.
|
|
484 |
|
|
485 |
[example:]
|
|
486 |
|foo|
|
|
487 |
|
|
488 |
foo := #{
|
|
489 |
foo: 'foo value' .
|
|
490 |
bar: 'bar value' .
|
|
491 |
baz: 'and obviously: a baz value' .
|
|
492 |
}.
|
|
493 |
foo bar.
|
|
494 |
foo baz.
|
|
495 |
foo inspect.
|
|
496 |
"
|
|
497 |
!
|
|
498 |
|
|
499 |
version
|
|
500 |
^ '$Header$'
|
|
501 |
!
|
|
502 |
|
|
503 |
version_CVS
|
|
504 |
^ '$Header$'
|
|
505 |
! !
|
|
506 |
|
|
507 |
!InlineObject::InlineObjectClassDescription methodsFor:'accessing'!
|
|
508 |
|
|
509 |
setName:newName
|
|
510 |
"because classes are shared, multiple uses may try to use different names.
|
|
511 |
I am anonymous anyway, so the name is only kept for the user's convenience
|
|
512 |
(i.e. to provide a nicer printString)
|
|
513 |
Only remember the very first one.
|
|
514 |
(maybe we should concatenate names instead)."
|
|
515 |
|
|
516 |
name isNil ifTrue:[
|
|
517 |
name := newName
|
|
518 |
] ifFalse:[
|
|
519 |
name = newName ifFalse:[
|
|
520 |
name := name,'/',newName
|
|
521 |
].
|
|
522 |
].
|
|
523 |
|
|
524 |
"
|
|
525 |
|o1 o2|
|
|
526 |
|
|
527 |
o1 := InlineObject slotNames:#('foo' 'bar' 'baz' 'bla') values:#(1 2 3 4).
|
|
528 |
o1 class setName:'myFoo'.
|
|
529 |
o2 := InlineObject slotNames:#('foo' 'bar' 'baz' 'bla') values:#(1 2 3 4).
|
|
530 |
o2 class setName:'myFoo2'.
|
|
531 |
o1 inspect.
|
|
532 |
o2 inspect.
|
|
533 |
"
|
|
534 |
|
|
535 |
"Created: / 25-06-2019 / 16:40:36 / Claus Gittinger"
|
|
536 |
"Modified: / 28-06-2019 / 14:38:32 / Claus Gittinger"
|
|
537 |
! !
|
|
538 |
|
|
539 |
!InlineObject::InlineObjectClassDescription methodsFor:'instance creation'!
|
|
540 |
|
|
541 |
values:slotValues
|
|
542 |
"return a new inline object instance of myself,
|
|
543 |
given slot values (must be in my inst-slot order).
|
|
544 |
I must be the class of an existing concrete inline object,
|
|
545 |
not the (abstract) InlineObject class itself."
|
|
546 |
|
|
547 |
^ (slotValues copyAs:Array) changeClassTo:self
|
|
548 |
|
|
549 |
"
|
|
550 |
|proto protoClass|
|
|
551 |
|
|
552 |
proto := InlineObject slotNames:#('foo' 'bar' 'baz') values:#(1 2 3).
|
|
553 |
protoClass := proto class.
|
|
554 |
protoClass setName:'Foo'.
|
|
555 |
(protoClass values:#( 10 20 30 )) inspect.
|
|
556 |
"
|
|
557 |
! !
|
|
558 |
|
|
559 |
!InlineObject::InlineObjectClassDescription methodsFor:'queries'!
|
|
560 |
|
|
561 |
name
|
|
562 |
"although inline objects usually have no name, we return something
|
|
563 |
useful here - there are many places (inspectors) where
|
|
564 |
a classes name is asked for."
|
|
565 |
|
24553
|
566 |
^ name ? #'InlineObject'
|
24525
|
567 |
!
|
|
568 |
|
|
569 |
nameSpace
|
|
570 |
^ nil
|
|
571 |
|
|
572 |
"Created: / 13-08-2010 / 18:23:33 / cg"
|
|
573 |
!
|
|
574 |
|
|
575 |
package
|
|
576 |
"return libbasic, so the methods of my subclass-instances (i.e. the inline objects)
|
|
577 |
are not seen as extensions in the browser)"
|
|
578 |
|
|
579 |
^ InlineObject package
|
|
580 |
! !
|
|
581 |
|
22813
|
582 |
!InlineObject::InlineObjectPrototype class methodsFor:'documentation'!
|
|
583 |
|
|
584 |
copyright
|
|
585 |
"
|
|
586 |
COPYRIGHT (c) 2009 by eXept Software AG
|
|
587 |
All Rights Reserved
|
|
588 |
|
|
589 |
This software is furnished under a license and may be used
|
|
590 |
only in accordance with the terms of that license and with the
|
|
591 |
inclusion of the above copyright notice. This software may not
|
|
592 |
be provided or otherwise made available to, or used by, any
|
|
593 |
other person. No title to or ownership of the software is
|
|
594 |
hereby transferred.
|
|
595 |
"
|
|
596 |
!
|
|
597 |
|
|
598 |
documentation
|
|
599 |
"
|
|
600 |
All getter/setter methods of all inline objects are actually shared code,
|
|
601 |
which is acquired from this prototypeInlineObject class.
|
|
602 |
"
|
|
603 |
!
|
|
604 |
|
|
605 |
version
|
|
606 |
^ '$Header$'
|
|
607 |
! !
|
|
608 |
|
|
609 |
!InlineObject::InlineObjectPrototype methodsFor:'accessing'!
|
|
610 |
|
|
611 |
i1
|
|
612 |
^ i1
|
23621
|
613 |
|
|
614 |
"Created: / 20-01-2019 / 14:49:52 / Claus Gittinger"
|
22813
|
615 |
!
|
|
616 |
|
|
617 |
i10
|
|
618 |
^ i10
|
|
619 |
!
|
|
620 |
|
|
621 |
i100
|
|
622 |
^ i100
|
|
623 |
!
|
|
624 |
|
|
625 |
i100:something
|
|
626 |
i100 := something.
|
|
627 |
!
|
|
628 |
|
|
629 |
i10:something
|
|
630 |
i10 := something.
|
|
631 |
!
|
|
632 |
|
|
633 |
i11
|
|
634 |
^ i11
|
|
635 |
!
|
|
636 |
|
|
637 |
i11:something
|
|
638 |
i11 := something.
|
|
639 |
!
|
|
640 |
|
|
641 |
i12
|
|
642 |
^ i12
|
|
643 |
!
|
|
644 |
|
|
645 |
i12:something
|
|
646 |
i12 := something.
|
|
647 |
!
|
|
648 |
|
|
649 |
i13
|
|
650 |
^ i13
|
|
651 |
!
|
|
652 |
|
|
653 |
i13:something
|
|
654 |
i13 := something.
|
|
655 |
!
|
|
656 |
|
|
657 |
i14
|
|
658 |
^ i14
|
|
659 |
!
|
|
660 |
|
|
661 |
i14:something
|
|
662 |
i14 := something.
|
|
663 |
!
|
|
664 |
|
|
665 |
i15
|
|
666 |
^ i15
|
|
667 |
!
|
|
668 |
|
|
669 |
i15:something
|
|
670 |
i15 := something.
|
|
671 |
!
|
|
672 |
|
|
673 |
i16
|
|
674 |
^ i16
|
|
675 |
!
|
|
676 |
|
|
677 |
i16:something
|
|
678 |
i16 := something.
|
|
679 |
!
|
|
680 |
|
|
681 |
i17
|
|
682 |
^ i17
|
|
683 |
!
|
|
684 |
|
|
685 |
i17:something
|
|
686 |
i17 := something.
|
|
687 |
!
|
|
688 |
|
|
689 |
i18
|
|
690 |
^ i18
|
|
691 |
!
|
|
692 |
|
|
693 |
i18:something
|
|
694 |
i18 := something.
|
|
695 |
!
|
|
696 |
|
|
697 |
i19
|
|
698 |
^ i19
|
|
699 |
!
|
|
700 |
|
|
701 |
i19:something
|
|
702 |
i19 := something.
|
|
703 |
!
|
|
704 |
|
|
705 |
i1:something
|
|
706 |
i1 := something.
|
23621
|
707 |
|
|
708 |
"Created: / 20-01-2019 / 14:49:52 / Claus Gittinger"
|
22813
|
709 |
!
|
|
710 |
|
|
711 |
i2
|
|
712 |
^ i2
|
23621
|
713 |
|
|
714 |
"Created: / 20-01-2019 / 14:49:52 / Claus Gittinger"
|
22813
|
715 |
!
|
|
716 |
|
|
717 |
i20
|
|
718 |
^ i20
|
|
719 |
!
|
|
720 |
|
|
721 |
i20:something
|
|
722 |
i20 := something.
|
|
723 |
!
|
|
724 |
|
|
725 |
i21
|
|
726 |
^ i21
|
|
727 |
!
|
|
728 |
|
|
729 |
i21:something
|
|
730 |
i21 := something.
|
|
731 |
!
|
|
732 |
|
|
733 |
i22
|
|
734 |
^ i22
|
|
735 |
!
|
|
736 |
|
|
737 |
i22:something
|
|
738 |
i22 := something.
|
|
739 |
!
|
|
740 |
|
|
741 |
i23
|
|
742 |
^ i23
|
|
743 |
!
|
|
744 |
|
|
745 |
i23:something
|
|
746 |
i23 := something.
|
|
747 |
!
|
|
748 |
|
|
749 |
i24
|
|
750 |
^ i24
|
|
751 |
!
|
|
752 |
|
|
753 |
i24:something
|
|
754 |
i24 := something.
|
|
755 |
!
|
|
756 |
|
|
757 |
i25
|
|
758 |
^ i25
|
|
759 |
!
|
|
760 |
|
|
761 |
i25:something
|
|
762 |
i25 := something.
|
|
763 |
!
|
|
764 |
|
|
765 |
i26
|
|
766 |
^ i26
|
|
767 |
!
|
|
768 |
|
|
769 |
i26:something
|
|
770 |
i26 := something.
|
|
771 |
!
|
|
772 |
|
|
773 |
i27
|
|
774 |
^ i27
|
|
775 |
!
|
|
776 |
|
|
777 |
i27:something
|
|
778 |
i27 := something.
|
|
779 |
!
|
|
780 |
|
|
781 |
i28
|
|
782 |
^ i28
|
|
783 |
!
|
|
784 |
|
|
785 |
i28:something
|
|
786 |
i28 := something.
|
|
787 |
!
|
|
788 |
|
|
789 |
i29
|
|
790 |
^ i29
|
|
791 |
!
|
|
792 |
|
|
793 |
i29:something
|
|
794 |
i29 := something.
|
|
795 |
!
|
|
796 |
|
|
797 |
i2:something
|
|
798 |
i2 := something.
|
23621
|
799 |
|
|
800 |
"Created: / 20-01-2019 / 14:49:52 / Claus Gittinger"
|
22813
|
801 |
!
|
|
802 |
|
|
803 |
i3
|
|
804 |
^ i3
|
23621
|
805 |
|
|
806 |
"Created: / 20-01-2019 / 14:49:52 / Claus Gittinger"
|
22813
|
807 |
!
|
|
808 |
|
|
809 |
i30
|
|
810 |
^ i30
|
|
811 |
!
|
|
812 |
|
|
813 |
i30:something
|
|
814 |
i30 := something.
|
|
815 |
!
|
|
816 |
|
|
817 |
i31
|
|
818 |
^ i31
|
|
819 |
!
|
|
820 |
|
|
821 |
i31:something
|
|
822 |
i31 := something.
|
|
823 |
!
|
|
824 |
|
|
825 |
i32
|
|
826 |
^ i32
|
|
827 |
!
|
|
828 |
|
|
829 |
i32:something
|
|
830 |
i32 := something.
|
|
831 |
!
|
|
832 |
|
|
833 |
i33
|
|
834 |
^ i33
|
|
835 |
!
|
|
836 |
|
|
837 |
i33:something
|
|
838 |
i33 := something.
|
|
839 |
!
|
|
840 |
|
|
841 |
i34
|
|
842 |
^ i34
|
|
843 |
!
|
|
844 |
|
|
845 |
i34:something
|
|
846 |
i34 := something.
|
|
847 |
!
|
|
848 |
|
|
849 |
i35
|
|
850 |
^ i35
|
|
851 |
!
|
|
852 |
|
|
853 |
i35:something
|
|
854 |
i35 := something.
|
|
855 |
!
|
|
856 |
|
|
857 |
i36
|
|
858 |
^ i36
|
|
859 |
!
|
|
860 |
|
|
861 |
i36:something
|
|
862 |
i36 := something.
|
|
863 |
!
|
|
864 |
|
|
865 |
i37
|
|
866 |
^ i37
|
|
867 |
!
|
|
868 |
|
|
869 |
i37:something
|
|
870 |
i37 := something.
|
|
871 |
!
|
|
872 |
|
|
873 |
i38
|
|
874 |
^ i38
|
|
875 |
!
|
|
876 |
|
|
877 |
i38:something
|
|
878 |
i38 := something.
|
|
879 |
!
|
|
880 |
|
|
881 |
i39
|
|
882 |
^ i39
|
|
883 |
!
|
|
884 |
|
|
885 |
i39:something
|
|
886 |
i39 := something.
|
|
887 |
!
|
|
888 |
|
|
889 |
i3:something
|
|
890 |
i3 := something.
|
23621
|
891 |
|
|
892 |
"Created: / 20-01-2019 / 14:49:52 / Claus Gittinger"
|
22813
|
893 |
!
|
|
894 |
|
|
895 |
i4
|
|
896 |
^ i4
|
|
897 |
!
|
|
898 |
|
|
899 |
i40
|
|
900 |
^ i40
|
|
901 |
!
|
|
902 |
|
|
903 |
i40:something
|
|
904 |
i40 := something.
|
|
905 |
!
|
|
906 |
|
|
907 |
i41
|
|
908 |
^ i41
|
|
909 |
!
|
|
910 |
|
|
911 |
i41:something
|
|
912 |
i41 := something.
|
|
913 |
!
|
|
914 |
|
|
915 |
i42
|
|
916 |
^ i42
|
|
917 |
!
|
|
918 |
|
|
919 |
i42:something
|
|
920 |
i42 := something.
|
|
921 |
!
|
|
922 |
|
|
923 |
i43
|
|
924 |
^ i43
|
|
925 |
!
|
|
926 |
|
|
927 |
i43:something
|
|
928 |
i43 := something.
|
|
929 |
!
|
|
930 |
|
|
931 |
i44
|
|
932 |
^ i44
|
|
933 |
!
|
|
934 |
|
|
935 |
i44:something
|
|
936 |
i44 := something.
|
|
937 |
!
|
|
938 |
|
|
939 |
i45
|
|
940 |
^ i45
|
|
941 |
!
|
|
942 |
|
|
943 |
i45:something
|
|
944 |
i45 := something.
|
|
945 |
!
|
|
946 |
|
|
947 |
i46
|
|
948 |
^ i46
|
|
949 |
!
|
|
950 |
|
|
951 |
i46:something
|
|
952 |
i46 := something.
|
|
953 |
!
|
|
954 |
|
|
955 |
i47
|
|
956 |
^ i47
|
|
957 |
!
|
|
958 |
|
|
959 |
i47:something
|
|
960 |
i47 := something.
|
|
961 |
!
|
|
962 |
|
|
963 |
i48
|
|
964 |
^ i48
|
|
965 |
!
|
|
966 |
|
|
967 |
i48:something
|
|
968 |
i48 := something.
|
|
969 |
!
|
|
970 |
|
|
971 |
i49
|
|
972 |
^ i49
|
|
973 |
!
|
|
974 |
|
|
975 |
i49:something
|
|
976 |
i49 := something.
|
|
977 |
!
|
|
978 |
|
|
979 |
i4:something
|
|
980 |
i4 := something.
|
|
981 |
!
|
|
982 |
|
|
983 |
i5
|
|
984 |
^ i5
|
|
985 |
!
|
|
986 |
|
|
987 |
i50
|
|
988 |
^ i50
|
|
989 |
!
|
|
990 |
|
|
991 |
i50:something
|
|
992 |
i50 := something.
|
|
993 |
!
|
|
994 |
|
|
995 |
i51
|
|
996 |
^ i51
|
|
997 |
!
|
|
998 |
|
|
999 |
i51:something
|
|
1000 |
i51 := something.
|
|
1001 |
!
|
|
1002 |
|
|
1003 |
i52
|
|
1004 |
^ i52
|
|
1005 |
!
|
|
1006 |
|
|
1007 |
i52:something
|
|
1008 |
i52 := something.
|
|
1009 |
!
|
|
1010 |
|
|
1011 |
i53
|
|
1012 |
^ i53
|
|
1013 |
!
|
|
1014 |
|
|
1015 |
i53:something
|
|
1016 |
i53 := something.
|
|
1017 |
!
|
|
1018 |
|
|
1019 |
i54
|
|
1020 |
^ i54
|
|
1021 |
!
|
|
1022 |
|
|
1023 |
i54:something
|
|
1024 |
i54 := something.
|
|
1025 |
!
|
|
1026 |
|
|
1027 |
i55
|
|
1028 |
^ i55
|
|
1029 |
!
|
|
1030 |
|
|
1031 |
i55:something
|
|
1032 |
i55 := something.
|
|
1033 |
!
|
|
1034 |
|
|
1035 |
i56
|
|
1036 |
^ i56
|
|
1037 |
!
|
|
1038 |
|
|
1039 |
i56:something
|
|
1040 |
i56 := something.
|
|
1041 |
!
|
|
1042 |
|
|
1043 |
i57
|
|
1044 |
^ i57
|
|
1045 |
!
|
|
1046 |
|
|
1047 |
i57:something
|
|
1048 |
i57 := something.
|
|
1049 |
!
|
|
1050 |
|
|
1051 |
i58
|
|
1052 |
^ i58
|
|
1053 |
!
|
|
1054 |
|
|
1055 |
i58:something
|
|
1056 |
i58 := something.
|
|
1057 |
!
|
|
1058 |
|
|
1059 |
i59
|
|
1060 |
^ i59
|
|
1061 |
!
|
|
1062 |
|
|
1063 |
i59:something
|
|
1064 |
i59 := something.
|
|
1065 |
!
|
|
1066 |
|
|
1067 |
i5:something
|
|
1068 |
i5 := something.
|
|
1069 |
!
|
|
1070 |
|
|
1071 |
i6
|
|
1072 |
^ i6
|
|
1073 |
!
|
|
1074 |
|
|
1075 |
i60
|
|
1076 |
^ i60
|
|
1077 |
!
|
|
1078 |
|
|
1079 |
i60:something
|
|
1080 |
i60 := something.
|
|
1081 |
!
|
|
1082 |
|
|
1083 |
i61
|
|
1084 |
^ i61
|
|
1085 |
!
|
|
1086 |
|
|
1087 |
i61:something
|
|
1088 |
i61 := something.
|
|
1089 |
!
|
|
1090 |
|
|
1091 |
i62
|
|
1092 |
^ i62
|
|
1093 |
!
|
|
1094 |
|
|
1095 |
i62:something
|
|
1096 |
i62 := something.
|
|
1097 |
!
|
|
1098 |
|
|
1099 |
i63
|
|
1100 |
^ i63
|
|
1101 |
!
|
|
1102 |
|
|
1103 |
i63:something
|
|
1104 |
i63 := something.
|
|
1105 |
!
|
|
1106 |
|
|
1107 |
i64
|
|
1108 |
^ i64
|
|
1109 |
!
|
|
1110 |
|
|
1111 |
i64:something
|
|
1112 |
i64 := something.
|
|
1113 |
!
|
|
1114 |
|
|
1115 |
i65
|
|
1116 |
^ i65
|
|
1117 |
!
|
|
1118 |
|
|
1119 |
i65:something
|
|
1120 |
i65 := something.
|
|
1121 |
!
|
|
1122 |
|
|
1123 |
i66
|
|
1124 |
^ i66
|
|
1125 |
!
|
|
1126 |
|
|
1127 |
i66:something
|
|
1128 |
i66 := something.
|
|
1129 |
!
|
|
1130 |
|
|
1131 |
i67
|
|
1132 |
^ i67
|
|
1133 |
!
|
|
1134 |
|
|
1135 |
i67:something
|
|
1136 |
i67 := something.
|
|
1137 |
!
|
|
1138 |
|
|
1139 |
i68
|
|
1140 |
^ i68
|
|
1141 |
!
|
|
1142 |
|
|
1143 |
i68:something
|
|
1144 |
i68 := something.
|
|
1145 |
!
|
|
1146 |
|
|
1147 |
i69
|
|
1148 |
^ i69
|
|
1149 |
!
|
|
1150 |
|
|
1151 |
i69:something
|
|
1152 |
i69 := something.
|
|
1153 |
!
|
|
1154 |
|
|
1155 |
i6:something
|
|
1156 |
i6 := something.
|
|
1157 |
!
|
|
1158 |
|
|
1159 |
i7
|
|
1160 |
^ i7
|
|
1161 |
!
|
|
1162 |
|
|
1163 |
i70
|
|
1164 |
^ i70
|
|
1165 |
!
|
|
1166 |
|
|
1167 |
i70:something
|
|
1168 |
i70 := something.
|
|
1169 |
!
|
|
1170 |
|
|
1171 |
i71
|
|
1172 |
^ i71
|
|
1173 |
!
|
|
1174 |
|
|
1175 |
i71:something
|
|
1176 |
i71 := something.
|
|
1177 |
!
|
|
1178 |
|
|
1179 |
i72
|
|
1180 |
^ i72
|
|
1181 |
!
|
|
1182 |
|
|
1183 |
i72:something
|
|
1184 |
i72 := something.
|
|
1185 |
!
|
|
1186 |
|
|
1187 |
i73
|
|
1188 |
^ i73
|
|
1189 |
!
|
|
1190 |
|
|
1191 |
i73:something
|
|
1192 |
i73 := something.
|
|
1193 |
!
|
|
1194 |
|
|
1195 |
i74
|
|
1196 |
^ i74
|
|
1197 |
!
|
|
1198 |
|
|
1199 |
i74:something
|
|
1200 |
i74 := something.
|
|
1201 |
!
|
|
1202 |
|
|
1203 |
i75
|
|
1204 |
^ i75
|
|
1205 |
!
|
|
1206 |
|
|
1207 |
i75:something
|
|
1208 |
i75 := something.
|
|
1209 |
!
|
|
1210 |
|
|
1211 |
i76
|
|
1212 |
^ i76
|
|
1213 |
!
|
|
1214 |
|
|
1215 |
i76:something
|
|
1216 |
i76 := something.
|
|
1217 |
!
|
|
1218 |
|
|
1219 |
i77
|
|
1220 |
^ i77
|
|
1221 |
!
|
|
1222 |
|
|
1223 |
i77:something
|
|
1224 |
i77 := something.
|
|
1225 |
!
|
|
1226 |
|
|
1227 |
i78
|
|
1228 |
^ i78
|
|
1229 |
!
|
|
1230 |
|
|
1231 |
i78:something
|
|
1232 |
i78 := something.
|
|
1233 |
!
|
|
1234 |
|
|
1235 |
i79
|
|
1236 |
^ i79
|
|
1237 |
!
|
|
1238 |
|
|
1239 |
i79:something
|
|
1240 |
i79 := something.
|
|
1241 |
!
|
|
1242 |
|
|
1243 |
i7:something
|
|
1244 |
i7 := something.
|
|
1245 |
!
|
|
1246 |
|
|
1247 |
i8
|
|
1248 |
^ i8
|
|
1249 |
!
|
|
1250 |
|
|
1251 |
i80
|
|
1252 |
^ i80
|
|
1253 |
!
|
|
1254 |
|
|
1255 |
i80:something
|
|
1256 |
i80 := something.
|
|
1257 |
!
|
|
1258 |
|
|
1259 |
i81
|
|
1260 |
^ i81
|
|
1261 |
!
|
|
1262 |
|
|
1263 |
i81:something
|
|
1264 |
i81 := something.
|
|
1265 |
!
|
|
1266 |
|
|
1267 |
i82
|
|
1268 |
^ i82
|
|
1269 |
!
|
|
1270 |
|
|
1271 |
i82:something
|
|
1272 |
i82 := something.
|
|
1273 |
!
|
|
1274 |
|
|
1275 |
i83
|
|
1276 |
^ i83
|
|
1277 |
!
|
|
1278 |
|
|
1279 |
i83:something
|
|
1280 |
i83 := something.
|
|
1281 |
!
|
|
1282 |
|
|
1283 |
i84
|
|
1284 |
^ i84
|
|
1285 |
!
|
|
1286 |
|
|
1287 |
i84:something
|
|
1288 |
i84 := something.
|
|
1289 |
!
|
|
1290 |
|
|
1291 |
i85
|
|
1292 |
^ i85
|
|
1293 |
!
|
|
1294 |
|
|
1295 |
i85:something
|
|
1296 |
i85 := something.
|
|
1297 |
!
|
|
1298 |
|
|
1299 |
i86
|
|
1300 |
^ i86
|
|
1301 |
!
|
|
1302 |
|
|
1303 |
i86:something
|
|
1304 |
i86 := something.
|
|
1305 |
!
|
|
1306 |
|
|
1307 |
i87
|
|
1308 |
^ i87
|
|
1309 |
!
|
|
1310 |
|
|
1311 |
i87:something
|
|
1312 |
i87 := something.
|
|
1313 |
!
|
|
1314 |
|
|
1315 |
i88
|
|
1316 |
^ i88
|
|
1317 |
!
|
|
1318 |
|
|
1319 |
i88:something
|
|
1320 |
i88 := something.
|
|
1321 |
!
|
|
1322 |
|
|
1323 |
i89
|
|
1324 |
^ i89
|
|
1325 |
!
|
|
1326 |
|
|
1327 |
i89:something
|
|
1328 |
i89 := something.
|
|
1329 |
!
|
|
1330 |
|
|
1331 |
i8:something
|
|
1332 |
i8 := something.
|
|
1333 |
!
|
|
1334 |
|
|
1335 |
i9
|
|
1336 |
^ i9
|
|
1337 |
!
|
|
1338 |
|
|
1339 |
i90
|
|
1340 |
^ i90
|
|
1341 |
!
|
|
1342 |
|
|
1343 |
i90:something
|
|
1344 |
i90 := something.
|
|
1345 |
!
|
|
1346 |
|
|
1347 |
i91
|
|
1348 |
^ i91
|
|
1349 |
!
|
|
1350 |
|
|
1351 |
i91:something
|
|
1352 |
i91 := something.
|
|
1353 |
!
|
|
1354 |
|
|
1355 |
i92
|
|
1356 |
^ i92
|
|
1357 |
!
|
|
1358 |
|
|
1359 |
i92:something
|
|
1360 |
i92 := something.
|
|
1361 |
!
|
|
1362 |
|
|
1363 |
i93
|
|
1364 |
^ i93
|
|
1365 |
!
|
|
1366 |
|
|
1367 |
i93:something
|
|
1368 |
i93 := something.
|
|
1369 |
!
|
|
1370 |
|
|
1371 |
i94
|
|
1372 |
^ i94
|
|
1373 |
!
|
|
1374 |
|
|
1375 |
i94:something
|
|
1376 |
i94 := something.
|
|
1377 |
!
|
|
1378 |
|
|
1379 |
i95
|
|
1380 |
^ i95
|
|
1381 |
!
|
|
1382 |
|
|
1383 |
i95:something
|
|
1384 |
i95 := something.
|
|
1385 |
!
|
|
1386 |
|
|
1387 |
i96
|
|
1388 |
^ i96
|
|
1389 |
!
|
|
1390 |
|
|
1391 |
i96:something
|
|
1392 |
i96 := something.
|
|
1393 |
!
|
|
1394 |
|
|
1395 |
i97
|
|
1396 |
^ i97
|
|
1397 |
!
|
|
1398 |
|
|
1399 |
i97:something
|
|
1400 |
i97 := something.
|
|
1401 |
!
|
|
1402 |
|
|
1403 |
i98
|
|
1404 |
^ i98
|
|
1405 |
!
|
|
1406 |
|
|
1407 |
i98:something
|
|
1408 |
i98 := something.
|
|
1409 |
!
|
|
1410 |
|
|
1411 |
i99
|
|
1412 |
^ i99
|
|
1413 |
!
|
|
1414 |
|
|
1415 |
i99:something
|
|
1416 |
i99 := something.
|
|
1417 |
!
|
|
1418 |
|
|
1419 |
i9:something
|
|
1420 |
i9 := something.
|
|
1421 |
! !
|
|
1422 |
|
11444
|
1423 |
!InlineObject class methodsFor:'documentation'!
|
|
1424 |
|
|
1425 |
version
|
21941
|
1426 |
^ '$Header$'
|
22846
|
1427 |
!
|
|
1428 |
|
|
1429 |
version_CVS
|
|
1430 |
^ '$Header$'
|
11444
|
1431 |
! !
|
18459
|
1432 |
|