• Home
  • Raw
  • Download

Lines Matching refs: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 parser_->SetDebug(options.isDebug); in Compile()
81 if (options.dumpAst) { in Compile()
85 if (ast.Extension() == ScriptExtension::TS && options.enableTypeCheck) { in Compile()
94 if (options.dumpTransformedAst) { in Compile()
97 if (options.checkTransformedAstStructure) { in Compile()
102 if (options.parseOnly) { in Compile()
106 std::string debugInfoSourceFile = options.debugInfoSourceFile.empty() ? in Compile()
107 sourcefile : options.debugInfoSourceFile; in Compile()
108 auto *prog = compiler_->Compile(&ast, options, debugInfoSourceFile, pkgName); in Compile()
120 …il::PatchFix *Compiler::InitPatchFixHelper(const SourceFile &input, const CompilerOptions &options, in InitPatchFixHelper() argument
124 bool needDumpSymbolFile = !options.patchFixOptions.dumpSymbolTable.empty(); in InitPatchFixHelper()
125 …bool needGeneratePatch = options.patchFixOptions.generatePatch && !options.patchFixOptions.symbolT… in InitPatchFixHelper()
126 bool isHotReload = options.patchFixOptions.hotReload; in InitPatchFixHelper()
127 bool isColdFix = options.patchFixOptions.coldFix; in InitPatchFixHelper()
157 int Compiler::CompileFiles(CompilerOptions &options, in CompileFiles() argument
161 …if (!options.patchFixOptions.symbolTable.empty() || !options.patchFixOptions.dumpSymbolTable.empty… in CompileFiles()
162 symbolTable = new util::SymbolTable(options.patchFixOptions.symbolTable, in CompileFiles()
163 options.patchFixOptions.dumpSymbolTable); in CompileFiles()
171 …auto queue = new compiler::CompileFileQueue(options.fileThreadCount, &options, progsInfo, symbolTa… in CompileFiles()
192 panda::pandasm::Program *Compiler::CompileFile(const CompilerOptions &options, SourceFile *src, in CompileFile() argument
195 auto *program = Compile(*src, options, symbolTable); in CompileFile()
199 if (err.Message().empty() && options.parseOnly) { in CompileFile()