COMPILER-ASSISTED PROGRAM SOURCE CODE FILTER

A computer implemented method, apparatus, and computer program product for filtering source code. A code filtering compiler identifies an entry for a named entit y in a symbol table. When a flag for the named entity in the symbol table indicates the named entity is referenced in source code, the cod...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: PERRY, SEAN D, KLARER, ROBERT M.N
Format: Patent
Sprache:eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A computer implemented method, apparatus, and computer program product for filtering source code. A code filtering compiler identifies an entry for a named entit y in a symbol table. When a flag for the named entity in the symbol table indicates the named entity is referenced in source code, the code filtering compiler retrieves coordinates from the entr y for the named entity in the symbol table. The coordinates identify a location of a definition associated with the named entity in the source code. The definition for the named entity located at the coordinates from the source code is copied into a filtered source listing. The filtered source listing comprises a set of definitions from a set of header files associated with named entiti es that are referenced in the source code. Definitions associated with entities that are unreferenced in the source code are absent from the filtered source listing.