public static void convertFile(string InFile, string OutFile) { TStringList st = new TStringList(); st.Add("org\\w3c\\dom\\html\\Function.java"); st.Add("org\\w3c\\dom\\websocket"); foreach (string f in st) { if (InFile.Contains(f)) { return; } } Console.WriteLine(InFile); if (!(System.IO.Directory.Exists(Path.GetDirectoryName(OutFile)))) { System.IO.Directory.CreateDirectory(Path.GetDirectoryName(OutFile).ToLower()); } TParsedFile Parser = new TParsedFile(); Parser.convertFile(InFile, OutFile); parsedFiles.Add(Parser); }
public void correctType() { trySetNewTypes(); if (TParsedFile.isUnknownType(this)) { name = "object"; } }
public TNamespaceList(TParsedFile file) { this.file = file; }