Structure Views Quickly Show Structure and Relations
|
Understand for Ada structure views are designed to present essential information about a compilation unit in a small and concise manner. The structure diagram is derived from the graphs presented by Booch and Buhr in their respective books “Software Engineering with Ada” and “System Design in Ada.” Where needed, the symbols and annotations have been extended or altered to represent new kinds of information available from Understand for Ada
- Declaration - the Declaration View is available for any compilation unit. It shows the declarative structure of the compilation unit as well as who it depends on and who uses it (either by Withing or Calling). In the case of procedures and generics the parameters are also shown.

- Declaration Tree - Shows the declaration structure of the compilation unit. Each line connecting an entity is read as “is declared in”. In this example, Dispatch_Command.IL is declared in Dispatch_Command, which is declared in Mahjongg.

- File Contents - Shows the compilation units defined within a file, and their declaration nesting. Each line between entities reads as “contains”. In this example, the file mahjongg.adb contains procedures Mahjongg, Provide_Help, Load_Game, Dispatch_Command, and Take_Turn. As discovered in the Declaration Tree example above, IL is declared in Dispatch_Command.

- File Declaration - Shows the top level compilation units defined in a file.
