DYNAMIC DISPATCH FOR CLASSES AND INTERFACES
First Claim
Patent Images
1. A program transformation system, comprising:
- an interface component that acquires a representation of a hierarchy of classes and/or interfaces; and
a code generation component that generates code in a class-less script language of equivalent semantics.
2 Assignments
0 Petitions
Accused Products
Abstract
Dynamic dispatch for classes and interfaces is encapsulated in a class-less scripting language. A plurality of mechanisms are employed to facilitate dynamic polymorphism. One or more target language constructs such as dictionary objects, prototype objects and/or derived types are utilized to capture class and interface method implementations. These constructs are subsequently referenced at runtime to invoke appropriate code.
47 Citations
20 Claims
-
1. A program transformation system, comprising:
-
an interface component that acquires a representation of a hierarchy of classes and/or interfaces; and a code generation component that generates code in a class-less script language of equivalent semantics. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method of dynamic dispatch, comprising:
-
identifying a virtual method call in a class-less script language; and locating an implementation for the virtual method call at runtime utilizing code that captures class and/or interface inheritances relationships in the language. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A program compilation system, comprising:
-
means for acquiring an inheritance hierarchy of classes represented in intermediate language code; means for implementing the code semantics in a class-less script programming language. - View Dependent Claims (20)
-
Specification