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

1.109 MessageLookup

Defined in namespace Smalltalk
Superclass: Message
Category: Language-Implementation
I represent a message lookup: I contain the selector and arguments, but also the starting class for the search.

1.109.1 MessageLookup class: creating instances  (class)
1.109.2 MessageLookup: accessing  (instance)
1.109.3 MessageLookup: basic  (instance)


1.109.1 MessageLookup class: creating instances

selector: aSymbol argument: argumentObject startingClass: startingClass
Create a new instance of the receiver

selector: aSymbol arguments: anArray startingClass: startingClass
Create a new instance of the receiver


1.109.2 MessageLookup: accessing

startingClass
Answer the starting class for the lookup

startingClass: aClass
Change the starting class for the lookup


1.109.3 MessageLookup: basic

method
Return the method that is the result of the lookup.

printOn: aStream
Print a representation of the receiver on aStream

retrySendTo: receiver
Send the message to the given receiver, looking up the method starting at #startingClass.



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


This document was generated on February, 22 2012 using texi2html