コード例 #1
0
    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)
コード例 #2
0
    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)
コード例 #3
0
 def __init__(self):
     CommandsExtractor.__init__(self)
コード例 #4
0
 def __init__(self):
     CommandsExtractor.__init__(self)