PowerAda asrcinfo
From OC Systems Wiki!
< PowerAda:APPENDIX E. Tools Reference
Revision as of 00:37, 25 April 2019 by imported>WikiVisor (Text replacement - """ to """)
Contents
NAME
asrcinfo - display source information
SYNOPSIS
asrcinfo [-h] {-I | FileName . . . }
DESCRIPTION
This command provides information about one or more Ada files.
OPTIONS
- -h
- Requests help for the command. If specified, all other options and parameters (except possibly erroneous ones) are ignored.
- -I
- Specifies that a list of file names will be read from standard input.
- If "--" is found in a line read from standard input, the remainder of the line is ignored.
PARAMETERS
- FileName . . .
- Specifies one or more Ada files for which information is to be provided. If "-" is specified instead of a file name, the input Ada source is read from standard input.
- For each Ada source file specified, the following information is written to standard output. For each compilation unit in an Ada source file, the following line is written:
- Unit -- (Type) FileName
- where
- Unit specifies the unit name. A prefix of lib/ or sec/ indicates which units are library units and which are secondary units. A subunit name is qualified with the names of all of its ancestors.
- FileName specifies the file in which the unit was found.
- Type identifies the compilation unit as one of the following:
Package_Spec Function_Spec Procedure_Spec Generic_Package_Spec Generic_Function_Spec Generic_Procedure_Spec Package_Body Function_Body Procedure_Body Package_Subunit Function_Subunit Procedure_Subunit Task_Subunit Package_Instantiation Function_Instantiation Procedure_Instantiation Package_Renaming Function_Renaming Procedure_Renaming Generic_Package_Renaming Generic_Function_Renaming Generic_Procedure_Renaming
RETURN CODES
Below is a list of the possible values returned by asrcinfo. Refer to Return Codes for Commands for details about the meaning of these return s.
0, 1, 2, 13, 99
FILES
$POWERADA/bin/asrcinfo
the asrcinfo program image
ENVIRONMENT VARIABLES
- POWERADA
- This must be defined and indicate the powerada/ada95 directory in the PowerAda installation.
- POWERADA_BASELINES
- Names a baselines file identifying aliases for baseline projects.
BUGS/LIMITATIONS
See Problems and Questions at the beginning of this Appendix.