摘要 |
Generating programmatically a pointer to a super implementation of a method in a programming language that is not a class-based object-oriented programming (OOP) language is disclosed. A hierarchy of functions, the hierarchy including one or more parent nodes each representing a parent function and each having one or more child nodes, each child node representing a function that inherits the methods of the corresponding parent node of which it is a child, is traversed until a super implementation of an inherited method is found. A programmatically created pointer to the super implementation is inserted programmatically into a corresponding location in a current function. |