Changes between Version 1 and Version 2 of aadlPrinter


Ignore:
Timestamp:
05/01/17 09:37:23 (7 years ago)
Author:
pdissaux
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • aadlPrinter

    v1 v2  
    11= AADL printer =
    22
    3 The AADL unparser (aadlgen.sbp) takes a lists of prolog predicates and generates the corresponding textual AADL specification in a file whose name is given by the environment variable REPORTFILE.
     3The AADL unparser (aadlgen.sbp) takes a lists of prolog predicates and generates the corresponding textual AADL specification in a file whose name is given by the environment variable REPORTFILE, or a dedicated pragma.
    44
    55The predicates (facts base) must comply with the definition of thoses generated by the [wiki:aadlparser AADL parser] (aadlrev.exe).
     
    99
    1010The AADL code generation can be controlled by pragmas that must be included into the fact base as AADL properties:
     11
     12The following properties control the output filenames
     13{{{
     14isProperty('','',Item,'NIL','NIL','','LMP::Unparser_Output_Filename',Filename,'').
     15with Item = 'NIL' | Package name | Property_Set_name
     16}}}
     17When Item is set to 'NIL' the overall AADL model is serialized in a single file;
     18When Item is set to the name of a Package or a Property Set the corresponding statements are serialized in the specified file;
     19When no Output_Filename pragma is defined the overall model is serialized in the file specified by the REPORTFILE environment variable;
     20When no output filename is defined the overall model is serialized on the standard output stream.
    1121
    1222The following properties control the case of AADL Keywords (default='Upper') and Identifiers (default='Lower').