Back: Memory class-accessing Up: Base classes Forward: Message class-creating instances   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.108 Message

Defined in namespace Smalltalk
Superclass: Object
Category: Language-Implementation
I represent a message send. My instances are created to hold a message that has failed, so that error reporting methods can examine the sender and arguments, but also to represent method attributes (like <primitive: 111> since their syntax is isomorphic to that of a message send.

1.108.1 Message class: creating instances  (class)
1.108.2 Message: accessing  (instance)
1.108.3 Message: basic  (instance)
1.108.4 Message: printing  (instance)


1.108.1 Message class: creating instances

selector: aSymbol argument: anObject
Create a new Message with the given selector and argument

selector: aSymbol arguments: anArray
Create a new Message with the given selector and arguments


1.108.2 Message: accessing

argument
Answer the first of the receiver's arguments

arguments
Answer the receiver's arguments

arguments: anArray
Set the receiver's arguments

selector
Answer the receiver's selector

selector: aSymbol
Set the receiver's selector


1.108.3 Message: basic

printAsAttributeOn: aStream
Print a representation of the receiver on aStream, modeling it after the source code for a attribute.


1.108.4 Message: printing

printOn: aStream
Print a representation of the receiver on aStream

reinvokeFor: aReceiver
Resend to aReceiver - present for compatibility

sendTo: aReceiver
Resend to aReceiver



Back: Message-basic Up: Message Forward: MessageNotUnderstood   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on August, 19 2010 using texi2html