| 321 | } |
| 322 | |
| 323 | Library::Container::Yield astFunctionYield(const Token* tok, const Library& library, const Token** ftok) |
| 324 | { |
| 325 | if (!tok) |
| 326 | return Library::Container::Yield::NO_YIELD; |
| 327 | |
| 328 | const auto* function = library.getFunction(tok); |
| 329 | if (!function) |
| 330 | return Library::Container::Yield::NO_YIELD; |
| 331 | |
| 332 | if (ftok) |
| 333 | *ftok = tok; |
| 334 | return function->containerYield; |
| 335 | } |
| 336 | |
| 337 | bool astIsRangeBasedForDecl(const Token* tok) |
| 338 | { |
no test coverage detected