| 178 | } |
| 179 | |
| 180 | bool ClassFunctionDeclaration::isConstructor() const |
| 181 | { |
| 182 | DUContext* ctx = context(); |
| 183 | if (ctx && ctx->type() == DUContext::Class && ctx->localScopeIdentifier().top().nameEquals(identifier())) |
| 184 | return true; |
| 185 | return false; |
| 186 | } |
| 187 | |
| 188 | bool ClassFunctionDeclaration::isDestructor() const |
| 189 | { |
no test coverage detected