Lines Matching defs:program
784 auto *program = varBinder->GetRecordTable()->Program();
785 program->Ast()->Statements().push_back(classDeclaration);
786 classDeclaration->SetParent(program->Ast());
1147 static void CallPerformForExtSources(LambdaConversionPhase *phase, public_lib::Context *ctx, parser::Program *program)
1150 for (auto &[_, extPrograms] : program->ExternalSources()) {
1159 bool LambdaConversionPhase::Perform(public_lib::Context *ctx, parser::Program *program)
1165 if (program == ctx->parserProgram) {
1170 CallPerformForExtSources(this, ctx, program);
1173 program->Ast()->TransformChildrenRecursivelyPostorder(
1183 program->Ast()->TransformChildrenRecursively(insertInvokeIfNeeded, Name());
1188 bool LambdaConversionPhase::Postcondition([[maybe_unused]] public_lib::Context *ctx, parser::Program const *program)
1190 return !program->Ast()->IsAnyChild([](ir::AstNode const *node) { return node->IsArrowFunctionExpression(); });