Changeset View
Changeset View
Standalone View
Standalone View
duchain/declarations/variabledeclaration.h
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | |||||
52 | */ | 52 | */ | ||
53 | class KDEVPHPDUCHAIN_EXPORT VariableDeclaration : public KDevelop::Declaration | 53 | class KDEVPHPDUCHAIN_EXPORT VariableDeclaration : public KDevelop::Declaration | ||
54 | { | 54 | { | ||
55 | public: | 55 | public: | ||
56 | VariableDeclaration(const VariableDeclaration& rhs); | 56 | VariableDeclaration(const VariableDeclaration& rhs); | ||
57 | VariableDeclaration(const KDevelop::RangeInRevision& range, KDevelop::DUContext* context); | 57 | VariableDeclaration(const KDevelop::RangeInRevision& range, KDevelop::DUContext* context); | ||
58 | VariableDeclaration(VariableDeclarationData& data); | 58 | VariableDeclaration(VariableDeclarationData& data); | ||
59 | VariableDeclaration(VariableDeclarationData& data, const KDevelop::RangeInRevision&); | 59 | VariableDeclaration(VariableDeclarationData& data, const KDevelop::RangeInRevision&); | ||
60 | virtual ~VariableDeclaration(); | 60 | ~VariableDeclaration() override; | ||
61 | 61 | | |||
62 | bool isSuperglobal() const; | 62 | bool isSuperglobal() const; | ||
63 | void setSuperglobal(bool superglobal); | 63 | void setSuperglobal(bool superglobal); | ||
64 | 64 | | |||
65 | virtual uint additionalIdentity() const; | 65 | uint additionalIdentity() const override; | ||
66 | virtual KDevelop::DeclarationId id(bool forceDirect = false) const; | 66 | KDevelop::DeclarationId id(bool forceDirect = false) const override; | ||
67 | 67 | | |||
68 | enum { | 68 | enum { | ||
69 | Identity = 83 | 69 | Identity = 83 | ||
70 | }; | 70 | }; | ||
71 | typedef KDevelop::Declaration Base; | 71 | typedef KDevelop::Declaration Base; | ||
72 | 72 | | |||
73 | private: | 73 | private: | ||
74 | DUCHAIN_DECLARE_DATA(VariableDeclaration) | 74 | DUCHAIN_DECLARE_DATA(VariableDeclaration) | ||
75 | }; | 75 | }; | ||
76 | 76 | | |||
77 | } | 77 | } | ||
78 | 78 | | |||
79 | #endif // VARIABLEDECLARATION_H | 79 | #endif // VARIABLEDECLARATION_H |