Import Statements

Import statements are generated to include definitions from the built-in run-time components as well as from other ASN.1 modules from which definitions were imported. As example of generated imports is as follows:

import osyspyrt.asn1error as exc
import osyspyrt.asn1univtype as univ
import osyspyrt.asn1ber as ber
    

Imports from the ASN.1 common run-time libraries are first. These are prefixed by the package name "osyspyrt". The symbols are mapped to a prefix to prevent name clashes with items in imported ASN.1 specifications or the specification being compiled. These are followed by import statements corresponding to ASN.1 IMPORT statements in the module being compiled.