Parameter mapping for generating Ada 83 (Ada code)
For each Parameter, ACS generates a subprogram parameter within the subprogram declaration and definition, or an entry parameter within the task or task type declaration.
The generation of a subprogram parameter is derived from the properties of the Parameter and the Stereotypes and Tag Definitions that are applied to it:
• If the parameter has no data type, an error is added to the Log.
• The parameter mechanism is used to generate In, Out and In Out modifiers.
• Default Parameter values are generated if appropriate.
• If the Parameter is stereotyped by an «Ada Access» stereotype, ACS generates the parameter as an access parameter. The tagged value of the Ada Access Modifier tag definition (applied by the «Ada Access» stereotype) is ignored.
|
The «Ada Attribute Designator» stereotype is ignored.
|