 import Foundation
 #if !os(Linux)
     extension Scanner {
-        func scanString(string: String) -> String? {
+        func scanString(_ string: String) -> String? {
             var value: NSString?
             if self.scanString(string, into: &value), let value = value {
                 return value as String

        let genericTypes = parseGenericArgumentClause() ?? []
        var subTypeIdentifier: TypeIdentifier? = nil
        
        if scanner.scanString(string: ".") != nil, let typeIdentifier = parseTypeIdentifier() {
            subTypeIdentifier = typeIdentifier
        }
        

    }
    
    func parseGenericArgumentClause() -> [Type]? {
        guard scanner.scanString("<") != nil else { return nil }
        guard let type = parseType() else { return nil }
        
        var types: [Type] = [type]
        
        while scanner.scanString(",") != nil, let type = parseType(){
            types.append(type)
        }
        
        guard scanner.scanString(">") != nil else { return nil }
        return types
    }
    
