Home
last modified time | relevance | path

Searched refs:parserProgram (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/
DcheckerPhase.cpp23 …ctx->checker->StartChecker(ctx->parserProgram->VarBinder(), ctx->config->options->CompilerOptions(… in Perform()
DresolveIdentifiers.cpp24 auto *varbinder = ctx->parserProgram->VarBinder()->AsETSBinder(); in Perform()
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/
Dmain.cpp40 …if (!GenerateTsDeclarations(checker, ctxImpl->parserProgram, cfgImpl->options->CompilerOutput())) { in Run()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DoptionalLowering.cpp55 auto *const varbinder = ctx->parserProgram->VarBinder(); in LowerOptionalExpr()
68 InitScopesPhaseETS::RunExternalNode(sequenceExpr, ctx->parserProgram->VarBinder()); in LowerOptionalExpr()
DopAssignment.cpp210 InitScopesPhaseETS::RunExternalNode(loweringResult, ctx->parserProgram->VarBinder()); in HandleOpAssignment()
DlambdaLowering.cpp757 …CloneTypeParams(ctx, oldTypeParams, info->enclosingFunction, ctx->parserProgram->GlobalClassScope(… in CreateLambdaClass()
760 …auto lexScope = varbinder::LexicalScope<varbinder::Scope>::Enter(varBinder, ctx->parserProgram->Gl… in CreateLambdaClass()
1162 if (program == ctx->parserProgram) { in Perform()
DenumLowering.cpp415 varbinder_ = ctx->parserProgram->VarBinder()->AsETSBinder(); in Perform()
/arkcompiler/ets_frontend/ets2panda/public/
Dpublic.h56 parser::Program *parserProgram = nullptr; member
Des2panda_lib.cpp433 res->parserProgram = new parser::Program(res->allocator, varbinder); in CreateContext()
434 res->parserProgram->MarkEntry(); in CreateContext()
436 …new parser::ETSParser(res->parserProgram, cfg->options->CompilerOptions(), parser::ParserStatus::N… in CreateContext()
442 varbinder->SetProgram(res->parserProgram); in CreateContext()
522 scopesInit.Perform(ctx, ctx->parserProgram); in InitScopes()
527 ctx->phases[ctx->currentPhase]->Apply(ctx, ctx->parserProgram); in InitScopes()
564 ctx->phases[ctx->currentPhase]->Apply(ctx, ctx->parserProgram); in Check()
591 ctx->phases[ctx->currentPhase++]->Apply(ctx, ctx->parserProgram); in Lower()
715 delete ctx->parserProgram; in DestroyContext()
737 return reinterpret_cast<es2panda_Program *>(ctx->parserProgram); in ContextProgram()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DcompileQueue.cpp53 const auto &functions = context->parserProgram->VarBinder()->Functions(); in Schedule()
DJSemitter.cpp80 GenESModuleModeRecord(Context()->parserProgram->Kind() == parser::ScriptKind::MODULE); in GenAnnotation()
DETSemitter.cpp207 …const auto *varbinder = static_cast<varbinder::ETSBinder *>(Context()->parserProgram->VarBinder()); in GenAnnotation()
409 Context()->parserProgram->VarBinder()->Program()->SourceFile().GetAbsolutePath().Mutf8(); in GenInterfaceRecord()
486 …classRecord.sourceFile = Context()->parserProgram->VarBinder()->Program()->SourceFile().GetAbsolut… in GenClassRecord()
DcodeGen.cpp163 return context_->parserProgram->VarBinder(); in VarBinder()
DcompilerImpl.cpp272 context.parserProgram = &program; in CreateCompiler()
Demitter.cpp497 if (context_->parserProgram->VarBinder()->IsGenStdLib()) { in Finalize()
DETSGen.cpp100 return Context()->parserProgram->VarBinder()->AsETSBinder(); in VarBinder()
/arkcompiler/ets_frontend/ets2panda/test/unit/
Dunion_normalization_test.cpp139 publicContext_->parserProgram = program; in InitializeChecker()