Exploration des entités du noyau ExtendScript
En examinant de plus près le tissu du noyau ExtendScript, on découvre un réseau assez luxuriant d'objets cachés. Le schéma ci-dessous illustre les choix adoptés par les développeurs d'ExtendScript en matière de connectique « prototypale », propre à cette implémentation de JavaScript. On découvre en particulier qu'une fonction abstraite fondamentale — baptisée ici [[Function]]
pour éviter toute confusion avec l'objet Function
traditionnel — fournit le prototype réel (__proto__
) de maints objets d'usage courant, y compris Function
et Object
eux-mêmes…
Comments
Hi Marc,
Could you give an illustration of what can be done with this information.
Thanks,
Trevor
Hi Trevor,
I admit that there is no direct application of this information ;-)
Anyway, understanding how core entities are architected in ExtendScript might be helpful to programmers who develop a framework. In particular, prototypal relationships are deeply involved in type casting and related issues.
@+
Marc