Changeset View
Changeset View
Standalone View
Standalone View
languages/qmljs/duchain/functiontype.h
Show All 38 Lines | |||||
39 | */ | 39 | */ | ||
40 | class KDEVQMLJSDUCHAIN_EXPORT FunctionType : public FunctionTypeBase | 40 | class KDEVQMLJSDUCHAIN_EXPORT FunctionType : public FunctionTypeBase | ||
41 | { | 41 | { | ||
42 | public: | 42 | public: | ||
43 | typedef KDevelop::TypePtr<FunctionType> Ptr; | 43 | typedef KDevelop::TypePtr<FunctionType> Ptr; | ||
44 | 44 | | |||
45 | FunctionType(); | 45 | FunctionType(); | ||
46 | FunctionType(const FunctionType& rhs); | 46 | FunctionType(const FunctionType& rhs); | ||
47 | FunctionType(Data& data); | 47 | explicit FunctionType(Data& data); | ||
48 | virtual ~FunctionType(); | 48 | virtual ~FunctionType(); | ||
49 | 49 | | |||
50 | KDevelop::AbstractType* clone() const override; | 50 | KDevelop::AbstractType* clone() const override; | ||
51 | QString toString() const override; | 51 | QString toString() const override; | ||
52 | uint hash() const override; | 52 | uint hash() const override; | ||
53 | 53 | | |||
54 | enum { | 54 | enum { | ||
55 | Identity = 30 | 55 | Identity = 30 | ||
56 | }; | 56 | }; | ||
57 | 57 | | |||
58 | typedef FunctionTypeBase::Data Data; | 58 | typedef FunctionTypeBase::Data Data; | ||
59 | }; | 59 | }; | ||
60 | 60 | | |||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | #endif | 63 | #endif |