Home
last modified time | relevance | path

Searched defs:ParseTreeVisitor (Results 1 – 1 of 1) sorted by relevance

/llvm-project/flang/examples/PrintFlangFunctionNames/
H A DPrintFlangFunctionNames.cpp31 struct ParseTreeVisitor { struct in PrintFunctionNamesAction
32 template <typename A> bool Pre(const A &) { return true; } in Pre()
33 template <typename A> void Post(const A &) {} in Post()
35 bool Pre(const Fortran::parser::FunctionSubprogram &) { in Pre()
39 void Post(const Fortran::parser::FunctionStmt &f) { in Post()
48 bool Pre(const Fortran::parser::SubroutineSubprogram &) { in Pre()
52 void Post(const Fortran::parser::SubroutineStmt &s) { in Post()
61 int fcounter{0};
62 int scounter{0};
65 bool isInSubprogram_{false};