![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Navigate > Visit AsisNote: This command is only available for Apex Ada, and Apex Duo.
The Navigate > Visit Asis command entered in an Ada editor window invokes a prototype ASIS object editor. This object editor can also be invoked from the command line using the visit_asis ada_file_name command.
The Asis Editor window is displayed when the Navigate > Visit Asis command is invoked.
![]()
The ASIS object editor displays the Ada unit as a "tree". Note that this tree is text-based. Child elements are indented under their parent element, i.e., the usual sort of textual/tree representation.
Five colors are used for the different types of elements. Most elements are displayed in the foreground color (usually black). Shared elements are orange. Semantic attributes are red. Implicit elements are blue. Generic instance elements are brown.
Expansion and elision of tree branches is provided. Expansion, by default, only occurs within tree sections of a single color. For example, when expanding the tree for a generic instance, any embedded implicit subtrees will not normally be expanded. They may be expanded by selecting them and clicking on Expand. Alternatively, the menu toggle View > Expand Into > Predefined Operators may be selected to enable expansion of implicit operation declarations. Other implicit subtree types are controlled by other toggles. By default, no tree expansions will cross the boundary between two differently colored regions of the display. Expansions are enabled by setting the various View > Expand Into toggles.
Different types of subtrees can be added to, or eliminated from, the display by using one of the View > Show toggles to disable their display. For example, the toggle View > Show > Generic Instance Bodies can be used to enable or disable the display of instance bodies for generic instantiations. By default, all implicit and generic elements are hidden. They are enabled by setting the various Show > View toggles.
Elements which are references to other elements, or elements which are semantic attribute values, can be visited by clicking the Visit button. This will cause the referenced element (tree) to be displayed. Visit in ASIS windows works the same way that Visit works in Ada windows.
It is possible to traverse back to an Ada window by selecting an ASIS element and clicking the Visit Ada button.
A more complete description of the Rational ASIS product can be found in the ASIS Concepts Guide.
Rational Software Corporation http://www.rational.com support@rational.com techpubs@rational.com Copyright © 1993-2001, Rational Software Corporation. All rights reserved. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |