Programmer's Reference
>>, allSelectors, compiledMethodAt:,
compiledMethodAt:ifAbsent:,
methodDictionary, selectors,
sourceCodeAt:, sourceCodeAt:ifAbsent:
- Note:
- The messages allSelectors, compiledMethodAt:,
selectors, and sourceCodeAt: are defined in the
Blue Book. Note that methodDictionary has been carefully
defined so it does not imply that a real method dictionary is used
to store methods. Requiring an actual method dictionary seems to be an
unreasonable restriction on implementors. For the same reason we have
omitted the Blue Book message methodDictionary:.
- Porting tip:
- Smalltalk/V supports only compiledMethodAt:,
selectors, and sourceCodeAt:. Smalltalk/V
uses multiple method dictionaries and defines the messages
methodDictionaries and methodDictionaries: to
support them. Objectworks\Smalltalk supports all messages
except the accessors >>,
sourceCodeAt:ifAbsent:, and
methodDictionary, although it does support the corresponding set
method methodDictionary:, following the Blue Book in this
practice.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]