display_source(1)

display_source1

Traverse and process the parse tree of ada units

Usage

display_source [options] filename

Overview

display_source is an ASIS application we used for Traverse_Element and ASIS testing. It's an application that can be used too as a basis for applications that imply a modification of the sources. It's based on the generic procedure Traverse_Element and the various funtionalities provided by display_source correspond to different actions on each element of the source traversed.

Options

-n

Output the kind of each element, its subkinds if applicable, and its image, for literals.

-s

Output an Ada source semanticaly equivalent to the initial source, after traversing the entire parse tree.

-i

Same as -s, but the algorithm is much more simple, and designed as a basis for tools that modify the source in order to produce, for example, HTML.

Releases

3 releases since Debian 2.2 (Potato); the text changed 1 time.

  1. 2.2–3.0
  2. 4.0

-i since Debian 4.0 (Etch); -n since Debian 4.0 (Etch); -s since Debian 4.0 (Etch).

Author

ASIS-for-GNAT was originally developed by the ASIS-for-GNAT team at the Software Engineering Laboratory of the Swiss Federal Institute of Technology (LGL-EPFL) in Lausanne, Switzerland, in cooperation with the Scientific Research Computer Center of Moscow State University (SRCC MSU), Russia, with funding partially provided by grants from the Swiss National Science Foundation and the Swiss Academy of Engineering Sciences. ASIS-for-GNAT is now maintained by AdaCore (http://www.adacore.com).

This manual page was written by Ludovic Brenta <[email protected]> for the Debian project, from the display_source sources.

From asis-programs 2005-5 in Debian 4.0 (Etch). Parsed by carta from the page's man source.