eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'NamespaceAwareLookup':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: NamespaceAwareLookup


Inheritance:

   Object
   |
   +--Lookup
      |
      +--NamespaceAwareLookup

Package:
stx:libbasic
Category:
Kernel-Extensions
Version:
rev: 1.7 date: 2017/10/11 12:33:30
user: sr
file: NamespaceAwareLookup.st directory: libbasic
module: stx stc-classLibrary: libbasic

Class protocol:

accessing
o  instance

initialization
o  initialize
(comment from inherited method)
do we really need this?

lookup
o  lookupMethodForSelector: selector directedTo: initialSearchClass for: receiver withArguments: argArrayOrNil from: sendingContext
JV @ 2010-07-24
Following C code is just a performance optimization.
It is not necessary, however it speeds things in most
cases. Such optimization significantly speeds up the IDE
since class browser involves dozens of super-polymorphic
sends (> 1000 receiver classes per send-site).

o  lookupMethodForSelector: selector directedTo: initialSearchClass for: receiver withArguments: argArrayOrNil from: sendingContext ilc: ilc
JV @ 2010-07-24
Following C code is just a performance optimization.
It is not necessary, however it speeds things in most
cases. Such optimization significantly speeds up the IDE
since class browser involves dozens of super-polymorphic
sends (> 1000 receiver classes per send-site).


Instance protocol:

lookup
o  lookupMethodForSelector: selector directedTo: initialSearchClass for: receiver withArguments: argArrayOrNil from: sendingContext ilc: ilcCache
Invoked by the VM to ask me for a method to fire.
For details, see comment inLookup>>lookupMethodForSelector:directedTo:for:withArguments:from:

lookup - helpers
o  lookupMethodsForSelector: selector directedTo: initialSearchClass
Searches initialSearchClass for a methods with in any namespace

o  lookupMethodsForSelector: selector directedTo: initialSearchClass inNamespaces: namespaces
Searches initialSearchClass for a methods with given selector in given namespaces.

o  lookupMethodsForSelector: selector directedTo: initialSearchClass suchThat: block
Searches initialSearchClass for a method with given selector in given nameSpace.

if no method in given namespace is found, returns nil

trampolines
o  ambiguousMessageSend

o  ambiguousMessageSend: selector withArgs: argArrayOrNil
0

o  ambiguousMessageSendWith: a1

o  ambiguousMessageSendWith: a1 with: a2

o  ambiguousMessageSendWith: a1 with: a2 with: a3

o  ambiguousMessageSendWith: a1 with: a2 with: a3 with: a4

o  ambiguousMessageSendWith: a1 with: a2 with: a3 with: a4 with: a5

o  ambiguousMessageSendWith: a1 with: a2 with: a3 with: a4 with: a5 with: a6

o  ambiguousMessageSendWith: a1 with: a2 with: a3 with: a4 with: a5 with: a6 with: a7

o  ambiguousMessageSendWith: a1 with: a2 with: a3 with: a4 with: a5 with: a6 with: a7 with: a8



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 10:56:32 GMT