 import Foundation
 
 class H5ToSwiftByFlexBoxPlugin {
-    let path: String
-    let pathUrl: URL
+//    let path: String
+//    let pathUrl: URL
     var index = 0
     var propertys = ""
     let H5file: H5File

    ]
    
    init(path:String) {
        self.path = path
        self.pathUrl = URL(string: "file://".appending(path))!
        let content = try! String(contentsOf: pathUrl, encoding: String.Encoding.utf8)
        let h5Lexer = H5Lexer(input: content)
        let tks = h5Lexer.lex()
        self.H5file = try! H5Parser(tokens: tks).parseFile()

        swiftStr.append("}\n")
        swiftStr.append("}\n")
        
        print("\(swiftStr)")
//        do {
//            try swiftStr.write(to: URL(string: "file://\(path).swift")!, atomically: false, encoding: String.Encoding.utf8)
//        } catch {
//
//        }
        
    }
    
