| 55 | } |
| 56 | |
| 57 | void FunctionDeclaration::setAbstractType(AbstractType::Ptr type) |
| 58 | { |
| 59 | if (type && !type.dynamicCast<FunctionType>()) { |
| 60 | qCDebug(LANGUAGE) << "wrong type attached to function declaration:" << type->toString(); |
| 61 | } |
| 62 | Declaration::setAbstractType(type); |
| 63 | } |
| 64 | |
| 65 | QString FunctionDeclaration::toString() const |
| 66 | { |