author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Wed, 10 Jun 2015 08:43:00 +0100 | |
branch | jv |
changeset 18482 | 68a43e2b3e78 |
parent 18120 | e3a375d5f6a8 |
child 18949 | 41f0cd5dc0ad |
permissions | -rw-r--r-- |
84 | 1 |
" |
2 |
COPYRIGHT (c) 1994 by Claus Gittinger |
|
159 | 3 |
All Rights Reserved |
84 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
5459 | 12 |
"{ Package: 'stx:libbasic' }" |
13 |
||
84 | 14 |
Object subclass:#ExecutableFunction |
1180
7f4a68385ac7
only ExecutableFunction is fixed - subclasses may look different
Claus Gittinger <cg@exept.de>
parents:
1133
diff
changeset
|
15 |
instanceVariableNames:'code*' |
7602
d048f13cd50a
Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents:
7257
diff
changeset
|
16 |
classVariableNames:'' |
1180
7f4a68385ac7
only ExecutableFunction is fixed - subclasses may look different
Claus Gittinger <cg@exept.de>
parents:
1133
diff
changeset
|
17 |
poolDictionaries:'' |
7f4a68385ac7
only ExecutableFunction is fixed - subclasses may look different
Claus Gittinger <cg@exept.de>
parents:
1133
diff
changeset
|
18 |
category:'Kernel-Methods' |
84 | 19 |
! |
20 |
||
21 |
!ExecutableFunction class methodsFor:'documentation'! |
|
22 |
||
88 | 23 |
copyright |
24 |
" |
|
25 |
COPYRIGHT (c) 1994 by Claus Gittinger |
|
159 | 26 |
All Rights Reserved |
88 | 27 |
|
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! |
|
36 |
||
84 | 37 |
documentation |
38 |
" |
|
88 | 39 |
This is an abstract class, to merge common attributes of all kinds of |
357 | 40 |
executable code objects; i.e. non-ST functions, Blocks and Methods |
41 |
and whatever there might be in the future. |
|
84 | 42 |
|
2244 | 43 |
Instances of ExecutableCode are not meant to be created by user code - |
1254 | 44 |
the compilers create instances of Method & Block, while compiling. |
2244 | 45 |
(the VM would not even know what to do with such an instance, and triggered |
46 |
and exception, if ever encountered during block/method execution). |
|
47 |
||
1254 | 48 |
|
1669 | 49 |
NOTICE: layout known by runtime system and compiler - do not change |
50 |
||
1254 | 51 |
|
1293 | 52 |
[Instance variables:] |
225 | 53 |
code <not_an_object> the function pointer to the machine code. |
1254 | 54 |
Not accessable from smalltalk code. |
55 |
(notice the '*' in the instVarNames definition) |
|
225 | 56 |
|
57 |
||
1293 | 58 |
[Class variables:] |
225 | 59 |
ExecutionErrorSignal parent of all execution errors |
1254 | 60 |
(not raised itself) |
225 | 61 |
|
62 |
InvalidCodeSignal codeObject is not executable |
|
84 | 63 |
|
1293 | 64 |
|
65 |
[author:] |
|
66 |
Claus Gittinger |
|
84 | 67 |
" |
68 |
! ! |
|
69 |
||
623 | 70 |
!ExecutableFunction class methodsFor:'queries'! |
84 | 71 |
|
623 | 72 |
isBuiltInClass |
1264 | 73 |
"return true if this class is known by the run-time-system. |
74 |
Here, true is returned for myself, false for subclasses." |
|
84 | 75 |
|
2244 | 76 |
^ self == ExecutableFunction |
1180
7f4a68385ac7
only ExecutableFunction is fixed - subclasses may look different
Claus Gittinger <cg@exept.de>
parents:
1133
diff
changeset
|
77 |
|
2244 | 78 |
"Modified: 23.1.1997 / 13:47:58 / cg" |
623 | 79 |
! ! |
84 | 80 |
|
623 | 81 |
!ExecutableFunction methodsFor:'accessing'! |
84 | 82 |
|
83 |
code |
|
84 |
"return the code field. This is not an object but the address of the machine instructions. |
|
85 |
Therefore an integer representing the code-address is returned" |
|
86 |
||
87 |
%{ /* NOCONTEXT */ |
|
2870 | 88 |
unsigned INT addr; |
84 | 89 |
|
1133 | 90 |
if (__INST(code_) != nil) { |
3421
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
91 |
|
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
92 |
RETURN (__MKEXTERNALADDRESS(__INST(code_))); |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
93 |
#ifdef OLD |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
94 |
addr = (unsigned INT)__INST(code_); |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
95 |
if (addr <= _MAX_INT) { |
8913 | 96 |
RETURN ( __mkSmallInteger(addr) ); |
3421
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
97 |
} |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
98 |
RETURN ( __MKUINT(addr)); |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
99 |
#endif |
84 | 100 |
} |
328 | 101 |
%}. |
84 | 102 |
^ nil |
623 | 103 |
! |
104 |
||
105 |
instVarAt:index |
|
106 |
"have to catch instVar access to code - since its no object" |
|
107 |
||
108 |
(index == 1) ifTrue:[^ self code]. |
|
109 |
^ super instVarAt:index |
|
110 |
! |
|
111 |
||
112 |
instVarAt:index put:value |
|
113 |
"have to catch instVar access to code - since its no object" |
|
114 |
||
115 |
(index == 1) ifTrue:[^ self code:value]. |
|
116 |
^ super instVarAt:index put:value |
|
84 | 117 |
! ! |
118 |
||
119 |
||
120 |
!ExecutableFunction methodsFor:'error handling'! |
|
121 |
||
122 |
invalidCode |
|
1871 | 123 |
"{ Pragma: +optSpace }" |
124 |
||
84 | 125 |
"this error is triggered by the interpreter when something is wrong |
107 | 126 |
with the code object (any error not handled by Method-signals). |
84 | 127 |
In this case, the VM sends this to the bad method/block (the receiver). |
128 |
Can only happen when the Compiler/runtime system is broken or |
|
129 |
someone played around." |
|
130 |
||
7602
d048f13cd50a
Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents:
7257
diff
changeset
|
131 |
^ InvalidCodeError raise. |
1871 | 132 |
|
133 |
"Modified: 4.11.1996 / 22:47:21 / cg" |
|
84 | 134 |
! ! |
135 |
||
357 | 136 |
!ExecutableFunction methodsFor:'printing & storing'! |
137 |
||
138 |
printOn:aStream |
|
1254 | 139 |
"append a printed representation of the receiver to aStream" |
140 |
||
357 | 141 |
|addr| |
142 |
||
143 |
addr := self code. |
|
144 |
addr isNil ifTrue:[^ super printOn:aStream]. |
|
145 |
||
3193 | 146 |
aStream nextPutAll:self class name; nextPutAll:'(address: 0x'. |
9260 | 147 |
addr address printOn:aStream base:16. |
3193 | 148 |
aStream nextPut:$) |
1254 | 149 |
|
3193 | 150 |
"Modified: / 22.4.1996 / 16:36:05 / cg" |
151 |
"Modified: / 20.1.1998 / 14:10:46 / stefan" |
|
1195
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
152 |
! |
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
153 |
|
5284 | 154 |
printStringForBrowserWithSelector:selector inClass:aClass |
155 |
"return a printString to represent myself to the user in a browser." |
|
156 |
||
1195
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
157 |
^ selector |
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
158 |
|
357 | 159 |
! ! |
160 |
||
7257 | 161 |
!ExecutableFunction methodsFor:'private-accessing'! |
623 | 162 |
|
163 |
code:anAddress |
|
164 |
"set the code field - DANGER ALERT. |
|
165 |
This is not an object but the address of the machine instructions. |
|
166 |
Therefore the argument must be an integer representing this address. |
|
167 |
You can crash Smalltalk very badly when playing around here ... |
|
168 |
This method is for compiler support and very special cases (debugging) only |
|
169 |
- do not use" |
|
84 | 170 |
|
623 | 171 |
%{ /* NOCONTEXT */ |
84 | 172 |
|
3421
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
173 |
if (__isExternalAddress(anAddress)) { |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
174 |
__INST(code_) = (OBJ)(__externalAddressVal(anAddress)); |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
175 |
} else { |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
176 |
if (__isSmallInteger(anAddress)) |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
177 |
__INST(code_) = (OBJ)(__intVal(anAddress)); |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
178 |
else { |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
179 |
if (anAddress == nil) { |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
180 |
__INST(code_) = nil; |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
181 |
} else { |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
182 |
__INST(code_) = (OBJ)(__longIntVal(anAddress)); |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
183 |
} |
78a276e71115
present code as an external function (for security & style)
Claus Gittinger <cg@exept.de>
parents:
3193
diff
changeset
|
184 |
} |
623 | 185 |
} |
186 |
%} |
|
9394 | 187 |
! |
188 |
||
189 |
invalidate |
|
190 |
self code:0 |
|
84 | 191 |
! ! |
623 | 192 |
|
1190
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
193 |
!ExecutableFunction methodsFor:'queries'! |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
194 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
195 |
category |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
196 |
"return the category of this codeObject. |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
197 |
Return nil here, to alow alien codeObjects to be handled by the |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
198 |
browsers." |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
199 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
200 |
^ nil |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
201 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
202 |
"Created: 16.4.1996 / 16:31:15 / cg" |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
203 |
! |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
204 |
|
16270
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
205 |
hasCanvasResource |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
206 |
"Return true, if this method is an canvas-resource method, false otherwise. |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
207 |
This is done by looking for a #canvas key in the method's resources." |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
208 |
|
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
209 |
^ self hasResource:#canvas |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
210 |
|
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
211 |
"Modified (comment): / 20-03-2014 / 16:58:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
212 |
! |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
213 |
|
3932 | 214 |
hasCode |
5459 | 215 |
"return true, if this codeObject has machinecode to execute." |
3932 | 216 |
%{ |
217 |
if (__INST(code_)) { |
|
218 |
RETURN (true); |
|
219 |
} |
|
5459 | 220 |
%}. |
221 |
^ false |
|
3932 | 222 |
|
223 |
"Created: / 13.11.1998 / 23:13:29 / cg" |
|
224 |
! |
|
225 |
||
16270
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
226 |
hasImageResource |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
227 |
"return true, if this method is an image-resource method. |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
228 |
This is done by looking for a #image key in the method's resources." |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
229 |
|
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
230 |
^ self hasResource:#image |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
231 |
! |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
232 |
|
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
233 |
hasMenuResource |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
234 |
"return true, if this method is a menu-resource method. |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
235 |
This is done by looking for a #image key in the method's resources." |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
236 |
|
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
237 |
^ self hasResource:#menu |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
238 |
! |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
239 |
|
5534 | 240 |
hasResource |
241 |
"return true, if this codeObject has a resource (false here - only real methods have)." |
|
242 |
||
243 |
^ false |
|
244 |
! |
|
245 |
||
16270
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
246 |
hasResource:aSymbol |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
247 |
"return true if the method has a <resource> definition for aSymbol." |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
248 |
|
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
249 |
^ self hasResource and:[ (self resources ? #()) includesKey:aSymbol ] |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
250 |
|
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
251 |
" |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
252 |
Method allInstancesDo:[:m | |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
253 |
(m hasResource:#image) ifTrue:[self halt] |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
254 |
]. |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
255 |
" |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
256 |
|
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
257 |
"Modified: / 01-12-2010 / 13:59:58 / cg" |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
258 |
! |
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
259 |
|
2532
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
260 |
isBreakpointed |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
261 |
"return true, if this is a wrapper method for a breakpoint. |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
262 |
False is returned here - this method is redefined in WrappedMethod" |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
263 |
|
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
264 |
^ false |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
265 |
|
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
266 |
"Created: 7.4.1997 / 17:24:40 / cg" |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
267 |
! |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
268 |
|
1195
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
269 |
isExecutable |
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
270 |
"return true, if this codeObject is executable." |
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
271 |
|
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
272 |
self isInvalid ifTrue:[^ false]. |
3932 | 273 |
^ self hasCode |
1195
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
274 |
|
3932 | 275 |
"Created: / 16.4.1996 / 20:13:32 / cg" |
276 |
"Modified: / 13.11.1998 / 23:16:32 / cg" |
|
1195
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
277 |
! |
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
278 |
|
12898 | 279 |
isInstrumented |
280 |
"return true, if this is an instrumented method. |
|
281 |
False is returned here - this method is redefined in InstrumentedMethod" |
|
282 |
||
283 |
^ false |
|
284 |
||
285 |
"Created: / 27-04-2010 / 12:26:05 / cg" |
|
286 |
! |
|
287 |
||
1190
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
288 |
isInvalid |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
289 |
"return true, if this codeObject is invalidated. |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
290 |
Return false here, to alow alien codeObjects to be handled by the |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
291 |
browsers." |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
292 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
293 |
^ false |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
294 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
295 |
"Created: 16.4.1996 / 16:31:42 / cg" |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
296 |
! |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
297 |
|
3924 | 298 |
isJavaMethod |
299 |
^ false |
|
300 |
||
301 |
"Created: / 10.11.1998 / 18:26:44 / cg" |
|
302 |
! |
|
303 |
||
1190
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
304 |
isLazyMethod |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
305 |
"return true, if this is a lazy method. |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
306 |
False is returned here - this method is redefined in LazyMethod" |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
307 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
308 |
^ false |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
309 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
310 |
"Created: 16.4.1996 / 16:32:11 / cg" |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
311 |
"Modified: 16.4.1996 / 16:32:36 / cg" |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
312 |
! |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
313 |
|
5936 | 314 |
isObsolete |
315 |
^ false |
|
316 |
! |
|
317 |
||
2536 | 318 |
isTimed |
319 |
"return true, if this is a wrapper method for a time measurement. |
|
320 |
False is returned here - this method is redefined in WrappedMethod" |
|
321 |
||
322 |
^ false |
|
323 |
||
324 |
"Created: 11.4.1997 / 17:06:32 / cg" |
|
325 |
! |
|
326 |
||
2532
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
327 |
isTraced |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
328 |
"return true, if this is a wrapper method for a trace point. |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
329 |
False is returned here - this method is redefined in WrappedMethod" |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
330 |
|
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
331 |
^ false |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
332 |
|
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
333 |
"Created: 7.4.1997 / 17:24:50 / cg" |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
334 |
! |
e555281237f1
moved isBreakPointed / isTrapped queries into method
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
335 |
|
1195
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
336 |
isUnloaded |
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
337 |
"return true, if the objects machine code has been unloaded |
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
338 |
from the system (i.e. it is not executable)." |
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
339 |
|
3932 | 340 |
^ self hasCode not |
1195
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
341 |
|
3932 | 342 |
"Created: / 16.4.1996 / 20:15:52 / cg" |
343 |
"Modified: / 13.11.1998 / 23:19:52 / cg" |
|
1195
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
344 |
! |
618e2cf3fb56
moved some protocol to upper levels; generalized queries
Claus Gittinger <cg@exept.de>
parents:
1190
diff
changeset
|
345 |
|
1190
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
346 |
isWrapped |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
347 |
"return true, if this is a wrapper method. |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
348 |
False is returned here - this method is redefined in WrappedMethod" |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
349 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
350 |
^ false |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
351 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
352 |
"Created: 16.4.1996 / 16:33:24 / cg" |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
353 |
! |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
354 |
|
5904 | 355 |
messagesSent |
356 |
^ #() "/ actually: unknown here in this abstract class |
|
357 |
! |
|
358 |
||
359 |
messagesSentToSelf |
|
360 |
^ #() "/ actually: unknown here in this abstract class |
|
361 |
! |
|
362 |
||
1190
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
363 |
privacy |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
364 |
"return a symbol describing the methods access rights (privacy); |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
365 |
Currently, this is one of #private, #protected, #public or #ignored. |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
366 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
367 |
Here we unconditionally return #public, to allow alien code objects |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
368 |
to be handled by the browsers." |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
369 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
370 |
^ #public |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
371 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
372 |
"Created: 16.4.1996 / 16:35:18 / cg" |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
373 |
! |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
374 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
375 |
referencesGlobal:aGlobalSymbol |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
376 |
"return true, if this method references the global |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
377 |
bound to aGlobalSymbol. |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
378 |
Return false (we dont know) here, to allow alien code objects to be |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
379 |
handled by the browsers." |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
380 |
|
8464 | 381 |
^ false |
1190
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
382 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
383 |
"Created: 16.4.1996 / 16:37:48 / cg" |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
384 |
! |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
385 |
|
4977 | 386 |
referencesGlobalMatching:aMatchPattern |
387 |
"return true, if this method references a global |
|
388 |
whose name matches aMatchPattern. |
|
389 |
Return false (we dont know) here, to allow alien code objects to be |
|
390 |
handled by the browsers." |
|
391 |
||
8464 | 392 |
^ false |
4977 | 393 |
|
394 |
"Created: / 9.11.1999 / 16:58:48 / cg" |
|
395 |
! |
|
396 |
||
5533 | 397 |
referencesLiteral:aLiteral |
5537 | 398 |
"return true, if this executable references the literal directly (i.e. a flat search). |
5533 | 399 |
Return false (we dont know) here, to allow alien code objects to be |
400 |
handled by the browsers." |
|
401 |
||
8464 | 402 |
^ false |
5537 | 403 |
|
404 |
"Modified: / 18.8.2000 / 21:18:43 / cg" |
|
5533 | 405 |
! |
406 |
||
407 |
refersToLiteral:aLiteral |
|
5537 | 408 |
"return true, if this executable references the literal directly or indirectly (i.e. a deep search). |
16263 | 409 |
Return false (we don't know) here, to allow alien code objects to be |
5533 | 410 |
handled by the browsers." |
411 |
||
8464 | 412 |
^ false |
5537 | 413 |
|
414 |
"Modified: / 18.8.2000 / 21:18:03 / cg" |
|
5533 | 415 |
! |
416 |
||
14257
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
417 |
refersToLiteralMatching:aMatchPattern |
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
418 |
"return true if the receiver or recursively any array element in the |
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
419 |
receiver is symbolic and matches aMatchPattern (i.e. a deep search). |
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
420 |
Return false (we dont know) here, to allow alien code objects to be |
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
421 |
handled by the browsers." |
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
422 |
|
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
423 |
^ false |
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
424 |
|
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
425 |
"Modified: / 18-08-2000 / 21:18:03 / cg" |
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
426 |
"Created: / 26-07-2012 / 15:38:26 / cg" |
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
427 |
! |
b971b4b2318a
added: #refersToLiteralMatching:
Claus Gittinger <cg@exept.de>
parents:
12898
diff
changeset
|
428 |
|
5533 | 429 |
resources |
430 |
^ nil |
|
431 |
||
432 |
"Created: / 3.11.1997 / 09:09:01 / cg" |
|
433 |
! |
|
434 |
||
1190
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
435 |
sends:aSelectorSymbol |
5533 | 436 |
"return true, if this code object contains a message-send with aSelectorSymbol as selector. |
1190
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
437 |
- due to the simple check in the literal array, also simple uses |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
438 |
of aSelectorSymbol as symbol will return true. |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
439 |
Should ask compiler, if there is really a send." |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
440 |
|
5533 | 441 |
^ self referencesLiteral:aSelectorSymbol |
1190
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
442 |
|
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
443 |
"Created: 16.4.1996 / 16:35:53 / cg" |
5533 | 444 |
! |
445 |
||
446 |
usedGlobals |
|
447 |
"return a collection with the global names referred to by the receiver. |
|
448 |
Uses Parser to parse methods source and extract them." |
|
449 |
||
450 |
^ #() |
|
1190
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
451 |
! ! |
4ad1c8d6d94d
moved & added some query methods (from method) to upper abstract classes
Claus Gittinger <cg@exept.de>
parents:
1180
diff
changeset
|
452 |
|
1180
7f4a68385ac7
only ExecutableFunction is fixed - subclasses may look different
Claus Gittinger <cg@exept.de>
parents:
1133
diff
changeset
|
453 |
!ExecutableFunction class methodsFor:'documentation'! |
7f4a68385ac7
only ExecutableFunction is fixed - subclasses may look different
Claus Gittinger <cg@exept.de>
parents:
1133
diff
changeset
|
454 |
|
7f4a68385ac7
only ExecutableFunction is fixed - subclasses may look different
Claus Gittinger <cg@exept.de>
parents:
1133
diff
changeset
|
455 |
version |
16270
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
456 |
^ '$Header: /cvs/stx/stx/libbasic/ExecutableFunction.st,v 1.59 2014-03-20 17:04:25 vrany Exp $' |
12898 | 457 |
! |
458 |
||
459 |
version_CVS |
|
16270
2b544a163c71
Moved hasResource, has(Image|Canvas|Menu)Resource to ExecutableFunction.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16263
diff
changeset
|
460 |
^ '$Header: /cvs/stx/stx/libbasic/ExecutableFunction.st,v 1.59 2014-03-20 17:04:25 vrany Exp $' |
1180
7f4a68385ac7
only ExecutableFunction is fixed - subclasses may look different
Claus Gittinger <cg@exept.de>
parents:
1133
diff
changeset
|
461 |
! ! |
16263 | 462 |