author | Claus Gittinger <cg@exept.de> |
Thu, 17 Apr 2014 00:34:02 +0200 | |
changeset 16364 | b6561c7643d5 |
parent 16080 | e12fe7f621a8 |
child 18120 | e3a375d5f6a8 |
child 18359 | b7bce2595753 |
permissions | -rw-r--r-- |
13403 | 1 |
" |
13478 | 2 |
COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague |
13403 | 3 |
All Rights Reserved |
4 |
||
13478 | 5 |
Permission is hereby granted, free of charge, to any person |
6 |
obtaining a copy of this software and associated documentation |
|
7 |
files (the 'Software'), to deal in the Software without |
|
8 |
restriction, including without limitation the rights to use, |
|
9 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
10 |
copies of the Software, and to permit persons to whom the |
|
11 |
Software is furnished to do so, subject to the following |
|
12 |
conditions: |
|
13 |
||
14 |
The above copyright notice and this permission notice shall be |
|
15 |
included in all copies or substantial portions of the Software. |
|
16 |
||
17 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
18 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
19 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
20 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
21 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
22 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
24 |
OTHER DEALINGS IN THE SOFTWARE. |
|
13403 | 25 |
" |
26 |
"{ Package: 'stx:libbasic' }" |
|
27 |
||
28 |
Lookup subclass:#NamespaceAwareLookup |
|
29 |
instanceVariableNames:'' |
|
30 |
classVariableNames:'Instance' |
|
31 |
poolDictionaries:'' |
|
32 |
category:'Kernel-Extensions' |
|
33 |
! |
|
34 |
||
35 |
!NamespaceAwareLookup class methodsFor:'documentation'! |
|
36 |
||
37 |
copyright |
|
38 |
" |
|
13478 | 39 |
COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague |
13403 | 40 |
All Rights Reserved |
41 |
||
13478 | 42 |
Permission is hereby granted, free of charge, to any person |
43 |
obtaining a copy of this software and associated documentation |
|
44 |
files (the 'Software'), to deal in the Software without |
|
45 |
restriction, including without limitation the rights to use, |
|
46 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
47 |
copies of the Software, and to permit persons to whom the |
|
48 |
Software is furnished to do so, subject to the following |
|
49 |
conditions: |
|
50 |
||
51 |
The above copyright notice and this permission notice shall be |
|
52 |
included in all copies or substantial portions of the Software. |
|
53 |
||
54 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
55 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
56 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
57 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
58 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
59 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
60 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
61 |
OTHER DEALINGS IN THE SOFTWARE. |
|
13403 | 62 |
" |
63 |
! ! |
|
64 |
||
65 |
!NamespaceAwareLookup class methodsFor:'initialization'! |
|
66 |
||
67 |
initialize |
|
68 |
||
69 |
Instance := self basicNew |
|
70 |
||
71 |
"Created: / 10-07-2010 / 21:12:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
72 |
! ! |
|
73 |
||
74 |
!NamespaceAwareLookup class methodsFor:'accessing'! |
|
75 |
||
76 |
instance |
|
77 |
||
78 |
^Instance |
|
79 |
||
80 |
"Created: / 20-05-2010 / 11:18:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
81 |
"Modified: / 10-07-2010 / 21:12:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
82 |
! ! |
|
83 |
||
84 |
!NamespaceAwareLookup class methodsFor:'lookup'! |
|
85 |
||
86 |
lookupMethodForSelector: selector directedTo: initialSearchClass for: receiver withArguments: argArrayOrNil from: sendingContext |
|
87 |
||
88 |
"JV @ 2010-07-24 |
|
89 |
Following C code is just a performance optimization. |
|
90 |
It is not neccessary, however it speeds things in most |
|
91 |
cases. Such optimization significantly speeds up the IDE |
|
92 |
since class browser involves dozens of super-polymorphic |
|
93 |
sends (> 1000 receiver classes per send-site). |
|
94 |
" |
|
95 |
||
96 |
%{ |
|
97 |
OBJ sendingMthd = __ContextInstPtr(sendingContext)->c_method; |
|
98 |
if (__Class(sendingMthd) == Method && |
|
99 |
__MethodInstPtr(sendingMthd)->m_annotation == nil) { |
|
100 |
OBJ m = __lookup(initialSearchClass, selector); |
|
101 |
if (m != nil) RETURN ( m ); |
|
102 |
} |
|
103 |
%}. |
|
104 |
||
105 |
^Instance lookupMethodForSelector: selector directedTo: initialSearchClass |
|
106 |
for: receiver withArguments: argArrayOrNil |
|
107 |
from: sendingContext |
|
108 |
||
109 |
! ! |
|
110 |
||
111 |
!NamespaceAwareLookup methodsFor:'lookup'! |
|
112 |
||
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
113 |
lookupMethodForSelector: selector directedTo: initialSearchClass for: receiver withArguments: argArrayOrNil from: sendingContext ilc: ilcCache |
13403 | 114 |
"Invoked by the VM to ask me for a method to fire. |
115 |
For details, see comment inLookup>>lookupMethodForSelector:directedTo:for:withArguments:from:" |
|
116 |
||
117 |
| sendingNs sendingMthd queue seen namespaces methods imports | |
|
118 |
||
119 |
"JV @ 2010-07-24 |
|
120 |
Following C code is just a performance optimization. |
|
121 |
It is not neccessary, however it speeds things in most |
|
122 |
cases. Such optimization significantly speeds up the IDE |
|
123 |
since class browser involves dozens of super-polymorphic |
|
124 |
sends (> 1000 receiver classes per send-site). |
|
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
125 |
" |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
126 |
%{ |
13403 | 127 |
sendingMthd = __ContextInstPtr(sendingContext)->c_method; |
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
128 |
if (__Class(sendingMthd) == Method && |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
129 |
__MethodInstPtr(sendingMthd)->m_annotation == nil) { |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
130 |
OBJ m = __lookup(initialSearchClass, selector); |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
131 |
if (m != nil) { |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
132 |
if (ilcCache != nil) __ilcBind(ilcCache, initialSearchClass, m, selector); |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
133 |
RETURN ( m ); |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
134 |
} |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
135 |
} |
13403 | 136 |
%}. |
137 |
"If you remove C code above, uncomment the line below." |
|
138 |
"sendingMthd := sendingContext method." |
|
139 |
sendingNs := sendingMthd isNil |
|
140 |
ifTrue:[nil] |
|
141 |
ifFalse:[sendingMthd nameSpace]. |
|
142 |
||
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
143 |
"Second chance to speed up things (in case sending method |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
144 |
has resource or so)" |
13403 | 145 |
%{ |
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
146 |
if (sendingNs == nil) { |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
147 |
OBJ m = __lookup(initialSearchClass, selector); |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
148 |
if (m != nil) { |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
149 |
if (ilcCache != nil) __ilcBind(ilcCache, initialSearchClass, m, selector); |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
150 |
RETURN ( m ); |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
151 |
} |
13403 | 152 |
} |
153 |
%}. |
|
154 |
" |
|
155 |
Stderr |
|
156 |
show: 'sel='; show: selector; show: ' ns='; show: sendingNs printString; |
|
157 |
show: ' method=', sendingMthd printString; cr. |
|
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
158 |
" |
13403 | 159 |
|
160 |
sendingNs notNil ifTrue: [ |
|
161 |
||
162 |
seen := Set new. |
|
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
163 |
namespaces := Array with: sendingNs. |
13403 | 164 |
|
165 |
[namespaces notEmpty] whileTrue: |
|
166 |
[ |
|
167 |
methods := self |
|
168 |
lookupMethodsForSelector: selector |
|
169 |
directedTo: initialSearchClass |
|
170 |
inNamespaces: namespaces. |
|
171 |
methods size == 1 ifTrue: |
|
172 |
[^methods anyOne]. |
|
173 |
methods size > 1 ifTrue: |
|
174 |
[^self ambiguousMessageSend: selector |
|
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
175 |
withArgs: argArrayOrNil]. |
13403 | 176 |
"No method found" |
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
177 |
seen addAll: namespaces. |
13403 | 178 |
imports := Set new. |
179 |
namespaces do: |
|
180 |
[:namespace| |
|
181 |
namespace notNil ifTrue: |
|
182 |
[namespace imports do: |
|
183 |
[:import| |
|
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
184 |
(seen includes: import) ifFalse: |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
185 |
[imports add: import]]]]. |
13403 | 186 |
namespaces := imports]. |
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
187 |
]. |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
188 |
|
13403 | 189 |
methods := self lookupMethodsForSelector: selector |
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
190 |
directedTo: initialSearchClass. |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
191 |
methods size == 1 ifTrue:[ |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
192 |
| m | |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
193 |
|
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
194 |
m := methods anyOne. |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
195 |
ilcCache notNil ifTrue:[ ilcCache bindTo: m forClass: initialSearchClass ]. |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
196 |
^ m |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
197 |
]. |
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
198 |
|
13403 | 199 |
^nil |
200 |
||
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
201 |
"Created: / 19-02-2014 / 21:49:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
13403 | 202 |
! ! |
203 |
||
204 |
!NamespaceAwareLookup methodsFor:'lookup - helpers'! |
|
205 |
||
206 |
lookupMethodsForSelector: selector directedTo: initialSearchClass |
|
207 |
||
208 |
"Searches initialSearchClass for a methods with in any namespace" |
|
209 |
^self |
|
210 |
lookupMethodsForSelector: selector |
|
211 |
directedTo: initialSearchClass |
|
212 |
suchThat:[:sel :mthd|true]. |
|
213 |
||
214 |
"Created: / 19-07-2010 / 15:37:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
215 |
! |
|
216 |
||
217 |
lookupMethodsForSelector: selector directedTo: initialSearchClass inNamespaces: namespaces |
|
218 |
||
219 |
"Searches initialSearchClass for a methods with given selector in given namespaces." |
|
220 |
^self |
|
221 |
lookupMethodsForSelector: selector |
|
222 |
directedTo: initialSearchClass |
|
223 |
suchThat:[:sel :mthd|namespaces includes: mthd nameSpace]. |
|
224 |
||
225 |
"Created: / 19-07-2010 / 15:13:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
226 |
! |
|
227 |
||
228 |
lookupMethodsForSelector: selector directedTo: initialSearchClass suchThat: block |
|
229 |
||
230 |
"Searches initialSearchClass for a method with given selector in given nameSpace. |
|
231 |
if no method in given namespace is found, returns nil" |
|
232 |
||
233 |
| searchClass methods seen | |
|
234 |
||
235 |
searchClass := initialSearchClass. |
|
236 |
methods := Set new. |
|
237 |
seen := OrderedCollection new. |
|
238 |
[ searchClass notNil ] whileTrue: |
|
239 |
[searchClass selectorsAndMethodsDo: |
|
240 |
[:sel :mthd| |
|
241 |
(sel selector = selector |
|
242 |
and:[(seen includes: mthd nameSpace) not |
|
243 |
and:[block value: sel value: mthd]]) ifTrue: |
|
244 |
[methods add: mthd. |
|
245 |
seen add: mthd nameSpace]]. |
|
246 |
searchClass := searchClass superclass]. |
|
247 |
^methods |
|
248 |
||
249 |
"Created: / 19-07-2010 / 15:34:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
250 |
"Modified: / 20-07-2010 / 10:42:52 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
251 |
! ! |
|
252 |
||
253 |
!NamespaceAwareLookup methodsFor:'trampolines'! |
|
254 |
||
255 |
ambiguousMessageSend |
|
256 |
||
257 |
^self ambiguousMessage: |
|
258 |
(Message |
|
259 |
selector: #__placeholder__ |
|
260 |
arguments: #() |
|
261 |
) |
|
262 |
||
263 |
"Created: / 19-08-2010 / 22:05:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
264 |
! |
|
265 |
||
266 |
ambiguousMessageSend: selector withArgs: argArrayOrNil |
|
267 |
||
268 |
| trampoline | |
|
269 |
||
270 |
trampoline := self class methodDictionary at: |
|
271 |
(#(" 0"ambiguousMessageSend |
|
272 |
" 1"ambiguousMessageSendWith: |
|
273 |
" 2"ambiguousMessageSendWith:with: |
|
274 |
" 3"ambiguousMessageSendWith:with:with: |
|
275 |
" 4"ambiguousMessageSendWith:with:with:with: |
|
276 |
" 5"ambiguousMessageSendWith:with:with:with:with: |
|
277 |
" 6"ambiguousMessageSendWith:with:with:with:with:with: |
|
278 |
" 7"ambiguousMessageSendWith:with:with:with:with:with:with: |
|
279 |
" 8"ambiguousMessageSendWith:with:with:with:with:with:with:with: |
|
280 |
) |
|
281 |
at: argArrayOrNil size + 1). |
|
282 |
trampoline := trampoline asByteCodeMethod. |
|
283 |
1 to: trampoline numLiterals do: |
|
284 |
[:litNr| |
|
285 |
(trampoline literalAt: litNr) == #__placeholder__ |
|
286 |
ifTrue:[(trampoline literalAt: litNr put: selector)]]. |
|
287 |
^trampoline |
|
288 |
||
289 |
"Created: / 19-08-2010 / 22:09:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
290 |
! |
|
291 |
||
292 |
ambiguousMessageSendWith: a1 |
|
293 |
||
294 |
^self ambiguousMessage: |
|
295 |
(Message |
|
296 |
selector: #__placeholder__ |
|
297 |
arguments: (Array with: a1) |
|
298 |
) |
|
299 |
||
300 |
"Created: / 19-08-2010 / 22:06:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
301 |
! |
|
302 |
||
303 |
ambiguousMessageSendWith: a1 with: a2 |
|
304 |
||
305 |
^self ambiguousMessage: |
|
306 |
(Message |
|
307 |
selector: #__placeholder__ |
|
308 |
arguments: (Array with: a1 with: a2) |
|
309 |
) |
|
310 |
||
311 |
"Created: / 19-08-2010 / 22:06:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
312 |
! |
|
313 |
||
314 |
ambiguousMessageSendWith: a1 with: a2 with: a3 |
|
315 |
||
316 |
^self ambiguousMessage: |
|
317 |
(Message |
|
318 |
selector: #__placeholder__ |
|
319 |
arguments: (Array with: a1 with: a2 with: a3) |
|
320 |
) |
|
321 |
||
322 |
"Created: / 19-08-2010 / 22:06:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
323 |
! |
|
324 |
||
325 |
ambiguousMessageSendWith: a1 with: a2 with: a3 with: a4 |
|
326 |
||
327 |
^self ambiguousMessage: |
|
328 |
(Message |
|
329 |
selector: #__placeholder__ |
|
330 |
arguments: (Array with: a1 with: a2 with: a3 with: a4) |
|
331 |
) |
|
332 |
||
333 |
"Created: / 19-08-2010 / 22:06:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
334 |
! |
|
335 |
||
336 |
ambiguousMessageSendWith: a1 with: a2 with: a3 with: a4 |
|
337 |
with: a5 |
|
338 |
||
339 |
^self ambiguousMessage: |
|
340 |
(Message |
|
341 |
selector: #__placeholder__ |
|
342 |
arguments: (Array with: a1 with: a2 with: a3 with: a4 |
|
343 |
with: a5) |
|
344 |
) |
|
345 |
||
346 |
"Created: / 19-08-2010 / 22:07:15 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
347 |
! |
|
348 |
||
349 |
ambiguousMessageSendWith: a1 with: a2 with: a3 with: a4 |
|
350 |
with: a5 with: a6 |
|
351 |
||
352 |
^self ambiguousMessage: |
|
353 |
(Message |
|
354 |
selector: #__placeholder__ |
|
355 |
arguments: (Array with: a1 with: a2 with: a3 with: a4 |
|
356 |
with: a5 with: a6) |
|
357 |
) |
|
358 |
||
359 |
"Created: / 19-08-2010 / 22:07:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
360 |
! |
|
361 |
||
362 |
ambiguousMessageSendWith: a1 with: a2 with: a3 with: a4 |
|
363 |
with: a5 with: a6 with: a7 |
|
364 |
||
365 |
^self ambiguousMessage: |
|
366 |
(Message |
|
367 |
selector: #__placeholder__ |
|
368 |
arguments: (Array with: a1 with: a2 with: a3 with: a4 |
|
369 |
with: a5 with: a6 with: a7) |
|
370 |
) |
|
371 |
||
372 |
"Created: / 19-08-2010 / 22:07:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
373 |
! |
|
374 |
||
375 |
ambiguousMessageSendWith: a1 with: a2 with: a3 with: a4 |
|
376 |
with: a5 with: a6 with: a7 with: a8 |
|
377 |
||
378 |
^self ambiguousMessage: |
|
379 |
(Message |
|
380 |
selector: #__placeholder__ |
|
381 |
arguments: (Array with: a1 with: a2 with: a3 with: a4 |
|
382 |
with: a5 with: a6 with: a7 with: a8) |
|
383 |
) |
|
384 |
||
385 |
"Created: / 19-08-2010 / 22:08:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
386 |
! ! |
|
387 |
||
388 |
!NamespaceAwareLookup class methodsFor:'documentation'! |
|
389 |
||
13478 | 390 |
version_CVS |
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
391 |
^ '$Header: /cvs/stx/stx/libbasic/NamespaceAwareLookup.st,v 1.3 2014-02-19 21:51:45 vrany Exp $' |
13478 | 392 |
! |
393 |
||
13403 | 394 |
version_SVN |
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
395 |
^ '$Id: NamespaceAwareLookup.st,v 1.3 2014-02-19 21:51:45 vrany Exp $' |
13403 | 396 |
! ! |
397 |
||
16080
e12fe7f621a8
class: NamespaceAwareLookup
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13478
diff
changeset
|
398 |
|
13403 | 399 |
NamespaceAwareLookup initialize! |