         )
     }()
     
-    var formatPlaceholderTypes: [Int: String]? {
+    var formatDescriptor: FormatDescriptor? {
         let range = NSRange(location: 0, length: (self as NSString).length)
         let matches = String.formatTypesRegex.matches(in: self, options: [], range: range)
         

//  MIT License

import Foundation

// extracted from: https://github.com/SwiftGen/SwiftGenKit/blob/master/Sources/Parsers/StringsFileParser.swift
extension String {

                
                placeholderTypes[pair.1] = pair.0
            }
            return FormatDescriptor(placeholders: placeholderTypes)
        }
        catch {
            return nil
