• Home
  • Raw
  • Download

Lines Matching +full:input +full:-

7  * http://www.apache.org/licenses/LICENSE-2.0
40 if (parser_->Extension() == ScriptExtension::TS) { in Compiler()
41 transformer_ = std::make_unique<parser::Transformer>(parser_->Allocator()); in Compiler()
55 return context.GetEmitter()->Finalize(false, nullptr); in CreateJsonContentProgram()
58 panda::pandasm::Program *Compiler::Compile(const SourceFile &input, const CompilerOptions &options, in Compile() argument
62 std::string fname(input.fileName); in Compile()
63 std::string src(input.source); in Compile()
64 std::string rname(input.recordName); in Compile()
65 std::string sourcefile(input.sourcefile); in Compile()
66 std::string pkgName(input.pkgName); in Compile()
67 parser::ScriptKind kind(input.scriptKind); in Compile()
69 auto *hotfixHelper = InitHotfixHelper(input, options, symbolTable); in Compile()
76 auto ast = parser_->Parse(fname, src, rname, kind); in Compile()
77 ast.Binder()->SetProgram(&ast); in Compile()
86 checker->StartChecker(); in Compile()
90 transformer_->Transform(&ast); in Compile()
91 ast.Binder()->IdentifierAnalysis(binder::ResolveBindingFlags::ALL); in Compile()
100 auto *prog = compiler_->Compile(&ast, options, debugInfoSourceFile, pkgName); in Compile()
112 util::Hotfix *Compiler::InitHotfixHelper(const SourceFile &input, const CompilerOptions &options, in InitHotfixHelper() argument
121 input.recordName, symbolTable); in InitHotfixHelper()
122 parser_->AddHotfixHelper(hotfixHelper); in InitHotfixHelper()
123 compiler_->AddHotfixHelper(hotfixHelper); in InitHotfixHelper()
147 if (!symbolTable->Initialize()) { in CompileFiles()
157 queue->Schedule(); in CompileFiles()
158 queue->Consume(); in CompileFiles()
159 queue->Wait(); in CompileFiles()
178 if (src->source.empty()) { in CompileFile()
191 std::cerr << " [" << util::Helpers::BaseName(src->fileName) << ":" in CompileFile()