Is MethodHolder really part of Etoys and not Tools-Base?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is MethodHolder really part of Etoys and not Tools-Base?

Tim Johnson-2
Hi,

I noticed that MethodHolder is only used by classes in the
Etoys-Scripting category (Player and ScriptEditorMorph).

On its class side, it only has methods in the *Etoys protocol.

So, considering this, might it also belong in Etoys-Scripting rather
than in Tools-Base?

Thanks,
Tim J



Reply | Threaded
Open this post in threaded view
|

Re: Is MethodHolder really part of Etoys and not Tools-Base?

marcel.taeumel
I think that CodeHolder should work with single instances of CompiledMethod or MethodReferences already. There should be no need for MethodHolder ... If not, CodeHolder would be just like a Workspace holding some code expressions. At least, I do not consider CodeHolder as an abstract superclass. :-)

Best,
Marcel

Am 12.06.2019 22:18:05 schrieb Tim Johnson <[hidden email]>:

Hi,

I noticed that MethodHolder is only used by classes in the
Etoys-Scripting category (Player and ScriptEditorMorph).

On its class side, it only has methods in the *Etoys protocol.

So, considering this, might it also belong in Etoys-Scripting rather
than in Tools-Base?

Thanks,
Tim J