Searched refs:endStmt (Results 1 – 3 of 3) sorted by relevance
424 return endStmt.isA<parser::Statement<parser::EndProgramStmt>>();433 return stmtSourceLoc(endStmt);450 FunctionStatement endStmt;482 ModuleStatement endStmt;
203 const auto &endStmt{std::get<std::tuple_size_v<decltype(x.t)> - 1>(x.t)}; in Pre() local204 if (endStmt.label) { in Pre()208 auto targetFlags{ConstructBranchTargetFlags(endStmt)}; in Pre()210 endStmt.label.value(), targetFlags, currentScope_); in Pre()637 const auto &endStmt{std::get<parser::Statement<END>>(a.t)}; in CheckEndName() local638 const parser::CharBlock *endName{GetStmtName(endStmt)}; in CheckEndName()650 .Say(endStmt.source, in CheckEndName()
1082 : ProgramUnit{func, parent}, endStmt{ in FunctionLikeUnit()1104 endStmt{getFunctionStmt<parser::EndFunctionStmt>(func)}, symbol{getSymbol(1115 endStmt{getFunctionStmt<parser::EndSubroutineStmt>(func)},1126 endStmt{getFunctionStmt<parser::EndMpSubprogramStmt>(func)},1134 endStmt{getModuleStmt<parser::EndModuleStmt>(m)} {}1140 endStmt{getModuleStmt<parser::EndSubmoduleStmt>(m)} {}