Lines Matching full:options
59 panda::pandasm::Program *Compiler::Compile(const SourceFile &input, const CompilerOptions &options, in Compile() argument
70 auto *patchFixHelper = InitPatchFixHelper(input, options, symbolTable); in Compile()
77 auto ast = parser_->Parse(fname, src, rname, options, kind); in Compile()
80 if (options.dumpAst) { in Compile()
84 if (ast.Extension() == ScriptExtension::TS && options.enableTypeCheck) { in Compile()
93 if (options.dumpTransformedAst) { in Compile()
96 if (options.checkTransformedAstStructure) { in Compile()
101 if (options.parseOnly) { in Compile()
105 std::string debugInfoSourceFile = options.debugInfoSourceFile.empty() ? in Compile()
106 sourcefile : options.debugInfoSourceFile; in Compile()
107 auto *prog = compiler_->Compile(&ast, options, debugInfoSourceFile, pkgName); in Compile()
119 …il::PatchFix *Compiler::InitPatchFixHelper(const SourceFile &input, const CompilerOptions &options, in InitPatchFixHelper() argument
123 bool needDumpSymbolFile = !options.patchFixOptions.dumpSymbolTable.empty(); in InitPatchFixHelper()
124 …bool needGeneratePatch = options.patchFixOptions.generatePatch && !options.patchFixOptions.symbolT… in InitPatchFixHelper()
125 bool isHotReload = options.patchFixOptions.hotReload; in InitPatchFixHelper()
126 bool isColdFix = options.patchFixOptions.coldFix; in InitPatchFixHelper()
156 int Compiler::CompileFiles(CompilerOptions &options, in CompileFiles() argument
160 …if (!options.patchFixOptions.symbolTable.empty() || !options.patchFixOptions.dumpSymbolTable.empty… in CompileFiles()
161 symbolTable = new util::SymbolTable(options.patchFixOptions.symbolTable, in CompileFiles()
162 options.patchFixOptions.dumpSymbolTable); in CompileFiles()
170 …auto queue = new compiler::CompileFileQueue(options.fileThreadCount, &options, progsInfo, symbolTa… in CompileFiles()
191 panda::pandasm::Program *Compiler::CompileFile(const CompilerOptions &options, SourceFile *src, in CompileFile() argument
194 auto *program = Compile(*src, options, symbolTable); in CompileFile()
198 if (err.Message().empty() && options.parseOnly) { in CompileFile()