def extract(self, support_file, dict_sections_spt_routines_header_files):
        # extract license text
        license_text = LicenseExtractor.extract_license(support_file)
        FileHandling.set_license(license_text)

        spt_routines_annex = SupportRoutinesExtractor.extract_annex(support_file, dict_sections_spt_routines_header_files)
        self.handle_annex(spt_routines_annex)

        return None
Esempio n. 2
0
    def extract(self, support_file, dict_sections_spt_routines_header_files):
        # extract license text
        license_text = LicenseExtractor.extract_license(support_file)
        FileHandling.set_license(license_text)

        spt_routines_annex = SupportRoutinesExtractor.extract_annex(
            support_file, dict_sections_spt_routines_header_files)
        self.handle_annex(spt_routines_annex)

        return None
    def extract(self, commands_file, folders):
        # extract license text
        license_text = LicenseExtractor.extract_license(commands_file)
        FileHandling.set_license(license_text)

        # extract CommandAttributes.h
        self.command_attributes_header_file = CommandAttributesHeaderFile()
        self.command_attributes_header_file.write()

        commands = CommandsExtractor.extract(commands_file, folders)
        self.handle_commands(commands)
    def extract(self, commands_file, folders):
        # extract license text
        license_text = LicenseExtractor.extract_license(commands_file)
        FileHandling.set_license(license_text)

        # extract CommandAttributes.h
        self.command_attributes_header_file = CommandAttributesHeaderFile()
        self.command_attributes_header_file.write()

        commands = CommandsExtractor.extract(commands_file, folders)
        self.handle_commands(commands)
    def extract(self, structures_file):
        # extract license text
        license_text = LicenseExtractor.extract_license(structures_file)
        FileHandling.set_license(license_text)

        # extract tables from document
        table_list = TableExtractor.extract_structure_tables(structures_file)

        # create TPM_Types.h (and BaseTypes.h)
        self.create_tpm_types_h_file(table_list)

        self.marshaller.handle_arrays()
        self.marshaller.write()
Esempio n. 6
0
    def extract(self, structures_file):
        # extract license text
        license_text = LicenseExtractor.extract_license(structures_file)
        FileHandling.set_license(license_text)

        # extract tables from document
        table_list = TableExtractor.extract_structure_tables(structures_file)

        # create TPM_Types.h (and BaseTypes.h)
        self.create_tpm_types_h_file(table_list)

        self.marshaller.handle_arrays()
        self.marshaller.write()