Automatic copying by ancestor in object-oriented languages

作者: Ronny Morad , Eitan Marcus , Karen Holtz

DOI:

关键词: AncestorCopyingObject-oriented programmingInstance variableClass hierarchyPointer (computer programming)Computer scienceDescendentNatural language processingArtificial intelligenceNew classProgramming language

摘要: A method of automatically defining a new class in hierarchy includes creating descendent that descends from one or more specified ancestor classes; sequentially analyzing each along inheritance path the classes to similar identify item is not selected storing respective pointer for identified inherited by referencing and associated with class; redefined being if already stored; copying referenced stored class.