Lines Matching defs:stmt
20 for (const parser::ImplicitPartStmt &stmt : implicitPart.v) {
23 &stmt.u)}) {
146 const auto &stmt{
150 auto result{stmt
151 ? BuildSubprogramTree(stmt->statement.v, context, x).set_stmt(*stmt)
158 const auto &stmt{std::get<parser::Statement<parser::FunctionStmt>>(x.t)};
160 const auto &name{std::get<parser::Name>(stmt.statement.t)};
163 std::get<std::optional<parser::Suffix>>(stmt.statement.t)}) {
169 .set_stmt(stmt)
176 const auto &stmt{std::get<parser::Statement<parser::SubroutineStmt>>(x.t)};
178 const auto &name{std::get<parser::Name>(stmt.statement.t)};
181 stmt.statement.t)}) {
185 .set_stmt(stmt)
192 const auto &stmt{std::get<parser::Statement<parser::MpSubprogramStmt>>(x.t)};
195 const auto &name{stmt.statement.v};
196 return BuildSubprogramTree(name, context, x).set_stmt(stmt).set_endStmt(end);
201 const auto &stmt{std::get<parser::Statement<parser::ModuleStmt>>(x.t)};
203 const auto &name{stmt.statement.v};
204 return BuildModuleTree(name, context, x).set_stmt(stmt).set_endStmt(end);
209 const auto &stmt{std::get<parser::Statement<parser::SubmoduleStmt>>(x.t)};
211 const auto &name{std::get<parser::Name>(stmt.statement.t)};
212 return BuildModuleTree(name, context, x).set_stmt(stmt).set_endStmt(end);
217 const auto &stmt{std::get<parser::Statement<parser::BlockDataStmt>>(x.t)};
220 auto result{stmt.statement.v
221 ? BuildSubprogramTree(*stmt.statement.v, context, x)
223 return std::move(result.set_stmt(stmt).set_endStmt(end));
240 const auto *stmt{
242 return std::get<parser::ParentIdentifier>(stmt->statement.t);