equal
deleted
inserted
replaced
235 "Created: / 08-08-2011 / 19:11:23 / cg" |
235 "Created: / 08-08-2011 / 19:11:23 / cg" |
236 ! ! |
236 ! ! |
237 |
237 |
238 !Method class methodsFor:'queries'! |
238 !Method class methodsFor:'queries'! |
239 |
239 |
|
240 binarySelectorCharacters |
|
241 "return a collection of characters which are allowed in binary selectors" |
|
242 |
|
243 ^ '&-+=*/\<>~@,?!!|%#'. |
|
244 ! |
|
245 |
240 isBuiltInClass |
246 isBuiltInClass |
241 "return true if this class is known by the run-time-system. |
247 "return true if this class is known by the run-time-system. |
242 Here, true is returned for myself, false for subclasses." |
248 Here, true is returned for myself, false for subclasses." |
243 |
249 |
244 ^ self == Method |
250 ^ self == Method |
245 |
251 |
246 "Modified: 23.4.1996 / 15:59:50 / cg" |
252 "Modified: 23.4.1996 / 15:59:50 / cg" |
|
253 ! |
|
254 |
|
255 maxBinarySelectorSize |
|
256 ^ 3 |
|
257 |
|
258 " |
|
259 in ST/X, binops are allowed with up-to 3 characters; |
|
260 for example: |
|
261 <-> |
|
262 <=> |
|
263 +++ |
|
264 :=: |
|
265 etc. are valid binOps here |
|
266 " |
247 ! |
267 ! |
248 |
268 |
249 methodDefinitionTemplateForSelector:aSelector |
269 methodDefinitionTemplateForSelector:aSelector |
250 "given a selector, return a prototype definition string" |
270 "given a selector, return a prototype definition string" |
251 |
271 |
3909 ! ! |
3929 ! ! |
3910 |
3930 |
3911 !Method class methodsFor:'documentation'! |
3931 !Method class methodsFor:'documentation'! |
3912 |
3932 |
3913 version |
3933 version |
3914 ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.464 2015-06-05 16:10:36 stefan Exp $' |
3934 ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.465 2015-06-08 15:50:12 stefan Exp $' |
3915 ! |
3935 ! |
3916 |
3936 |
3917 version_CVS |
3937 version_CVS |
3918 ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.464 2015-06-05 16:10:36 stefan Exp $' |
3938 ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.465 2015-06-08 15:50:12 stefan Exp $' |
3919 ! |
3939 ! |
3920 |
3940 |
3921 version_SVN |
3941 version_SVN |
3922 ^ '$ Id: Method.st 10648 2011-06-23 15:55:10Z vranyj1 $' |
3942 ^ '$ Id: Method.st 10648 2011-06-23 15:55:10Z vranyj1 $' |
3923 ! ! |
3943 ! ! |