ParseInformation ParseTypeScriptFile(string fileName, ITextBuffer fileContent, TypeScriptProject project)
        {
            var parser                  = new TypeScriptParser(new LanguageServiceNullLogger());
            var projectContent          = new TypeScriptProjectContent(project);
            List <TypeScriptFile> files = project.GetTypeScriptFiles().ToList();
            ICompilationUnit      unit  = parser.Parse(projectContent, fileName, fileContent, files);

            return(new ParseInformation(unit));
        }
 ParseInformation ParseTypeScriptFile(string fileName, ITextBuffer fileContent, TypeScriptProject project)
 {
     var parser = new TypeScriptParser(new LanguageServiceNullLogger());
     var projectContent = new TypeScriptProjectContent(project);
     List<TypeScriptFile> files = project.GetTypeScriptFiles().ToList();
     ICompilationUnit unit = parser.Parse(projectContent, fileName, fileContent, files);
     return new ParseInformation(unit);
 }