|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 4096 (0x1000) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package Call_Trees, seg_0043db
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
--| @SUMMARY Displays a hierarchical list of the subprograms called by --| any subprogram. This display can be a batch listing, or an --| interactive hierarchy. --| @DESCRIPTION This package provides a simple yet useful tool for --| analyzing the call tree for a program. It contains two interfaces: --| a batch listing and an interactive display. --| --| Possible future enhancements: --| Handling of generic instantiations --| Better handling of recursive calls --| Incorporating the Rational error-handling model --| --| @INDICES (References, Analysis, Command_Interface) --| @SPECIAL_NOTES Both procedures must be called with names of subprograms. --| The program does not handle package names by themselves. package Call_Trees is --| @DESCRIPTION This procedure provides a batch listing of the call --| tree for a given subprogram. The listing indents to show --| levels. If a subprogram is listed more than once, it will --| only be broken down the first time. If a subprogram calls --| another subprogram more than once, the called subprogram will --| appear more than once in the listing. --| @PARAMETERS These_Objects => If the string resolves to more than --| one object, the listing will contain the call tree for each --| valid object. procedure List (These_Objects : in String := "<SELECTION>"); --| @DESCRIPTION This procedure provides an interactive browsing --| mechanism for the call tree of a subprogram. The window --| that appears will look something like this: --| --| __| CALLER_ONE --| | | CALLER_TWO --| | --| ------------------ -------- --| | MY_SUBPROGAM | | QUIT | --| ------------------ -------- --| | --| |__| CALLS_THIS_ONE --| | THIS_ONE_TWO --| --| As you can see, the window shows the current subprogram name, --| the subprograms that call it, and the subprograms that it --| calls. You can use the following keys to maneuver through --| the hierarchy: DEFINITION, UP, DOWN, LEFT, RIGHT. --| @PARAMETERS This_Object => Since the procedure provides an --| interactive display, it can only be called with one object --| at a time. procedure Visit (This_Object : in String := "<SELECTION>"); end Call_Trees;
nblk1=3 nid=0 hdr6=6 [0x00] rec0=15 rec1=00 rec2=01 rec3=078 [0x01] rec0=18 rec1=00 rec2=02 rec3=028 [0x02] rec0=0a rec1=00 rec2=03 rec3=000 tail 0x217001678815c6339edaa 0x42a00088462061e03