Reference

pfni(1)

Print Full Name Image of an Ada entity

NAME

pfni - Print Full Name Image of an Ada entity

SYNOPSIS

pfni [-sofd] [-p project] unit[:line[:column]] [-- ASIS options]

pfni -h

DESCRIPTION

pfni is a companion program to adactl(1). It prints the full expanded name of entities declared or referenced by a specified Ada compilation unit. This makes it easier to designate the entities when writing new rules for AdaControl.

Commercial support is available for AdaControl, see file /usr/share/doc/adacontrol/support.txt. If you plan to use AdaControl for industrial projects, or if you want it to be customized or extended to match your own needs, please contact Adalog at [email protected].

OPTIONS

-d

Enable debug mode.

-f

Full output: display all entities declared and referenced by unit. The default is to only display entities declared in unit.

-h

Prints a general help message.

-o

Also print overloading information. If you are calling a subprogram that has several overloadings and you are not sure which one is called, use pfni with the -o option on that line: the program will tell you the full name and profile of the called subprogram.

-p project

Use the specified Emacs ada-mode (*.adp) project file.

-s

Process the specification of unit; the default is to process the body.

line

Only display entities declared on that line number.

line:column

Only display the entity at that line and column numbers, if any.

AUTHOR

AdaControl was developed by Adalog ⟨URL: http://www.adalog.fr ⟩ under contract with Eurocontrol ⟨URL: http://www.eurocontrol.int ⟩. The copyright is jointly owned by Adalog and Eurocontrol.

This manual page was written by Ludovic Brenta <[email protected]> for the Debian project, but it can be used for other purposes as well.

SEE ALSO

adactl(1)

AdaControl User's Guide, available in Info, PDF, and HTML in /usr/share/doc/adacontrol.

AdaControl Programmer's Guide, available in Info, PDF, and HTML in /usr/share/doc/adacontrol.

History