protected void ParseLibrary(params string[] files)
        {
            Options       = new DriverOptions();
            ParserOptions = new ParserOptions();

            var testsPath = GeneratorTest.GetTestsDirectory("Native");

            ParserOptions.addIncludeDirs(testsPath);

            Options.Headers.AddRange(files);

            Driver = new Driver(Options, new TextDiagnosticPrinter())
            {
                ParserOptions = this.ParserOptions
            };

            foreach (var module in Driver.Options.Modules)
            {
                module.LibraryName = "Test";
            }
            Driver.Setup();
            Driver.BuildParseOptions();
            if (!Driver.ParseCode())
            {
                throw new Exception("Error parsing the code");
            }

            AstContext = Driver.Context.ASTContext;
        }