Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/language/duchain/declaration.h
Show First 20 Lines • Show All 187 Lines • ▼ Show 20 Line(s) | 55 | public: | |||
---|---|---|---|---|---|
188 | * */ | 188 | * */ | ||
189 | void setExplicitlyDeleted(bool deleted); | 189 | void setExplicitlyDeleted(bool deleted); | ||
190 | /** | 190 | /** | ||
191 | * Determine whether this declaration is "explicitly deleted" or not. | 191 | * Determine whether this declaration is "explicitly deleted" or not. | ||
192 | */ | 192 | */ | ||
193 | bool isExplicitlyDeleted() const; | 193 | bool isExplicitlyDeleted() const; | ||
194 | 194 | | |||
195 | /** | 195 | /** | ||
196 | * Changes whether this declaration is explicitly typed. | ||||
197 | * | ||||
198 | * Explicitly typed declaration has the type writen as part of the | ||||
199 | * declaration. The opposite, implicitly typed declaration, has the type | ||||
200 | * deduced by the compiler. | ||||
201 | * | ||||
202 | * E.g. in C++ variable declarations are explicitly typed unless the "auto" | ||||
203 | * keyword is used. | ||||
204 | * | ||||
205 | * \param explicitlyTyped true for explicitly typed, false for implicitly typed | ||||
206 | */ | ||||
207 | void setExplicitlyTyped(bool explicitlyTyped); | ||||
208 | /** | ||||
209 | * Determine whether this declaration is explicitly typed. | ||||
210 | */ | ||||
211 | bool isExplicitlyTyped() const; | ||||
212 | | ||||
213 | /** | ||||
196 | * Retrieve the declaration which is specialized with the given | 214 | * Retrieve the declaration which is specialized with the given | ||
197 | * \a specialization index as seen from \a topContext. | 215 | * \a specialization index as seen from \a topContext. | ||
198 | * | 216 | * | ||
199 | * \param specialization the specialization index (see DeclarationId) | 217 | * \param specialization the specialization index (see DeclarationId) | ||
200 | * \param topContext the top context representing the perspective from which to specialize. | 218 | * \param topContext the top context representing the perspective from which to specialize. | ||
201 | * if @p topContext is zero, only already existing specializations are returned, | 219 | * if @p topContext is zero, only already existing specializations are returned, | ||
202 | * and if none exists, zero is returned. | 220 | * and if none exists, zero is returned. | ||
203 | * \param upDistance upwards distance in the context-structure of the | 221 | * \param upDistance upwards distance in the context-structure of the | ||
▲ Show 20 Lines • Show All 368 Lines • Show Last 20 Lines |