| 763 | } |
| 764 | |
| 765 | bool VariableDeclaration::isExternalCallableParameter() const |
| 766 | { |
| 767 | if (!isCallableOrCatchParameter()) |
| 768 | return false; |
| 769 | |
| 770 | if (auto const* callable = dynamic_cast<CallableDeclaration const*>(scope())) |
| 771 | if (callable->visibility() == Visibility::External) |
| 772 | return !isReturnParameter(); |
| 773 | |
| 774 | return false; |
| 775 | } |
| 776 | |
| 777 | bool VariableDeclaration::isPublicCallableParameter() const |
| 778 | { |
no test coverage detected