| 706 | } |
| 707 | |
| 708 | bool VariableDeclaration::isLocalVariable() const |
| 709 | { |
| 710 | auto s = scope(); |
| 711 | return |
| 712 | dynamic_cast<FunctionTypeName const*>(s) || |
| 713 | dynamic_cast<CallableDeclaration const*>(s) || |
| 714 | dynamic_cast<Block const*>(s) || |
| 715 | dynamic_cast<TryCatchClause const*>(s) || |
| 716 | dynamic_cast<ForStatement const*>(s); |
| 717 | } |
| 718 | |
| 719 | bool VariableDeclaration::isCallableOrCatchParameter() const |
| 720 | { |
no outgoing calls
no test coverage detected