Changeset View
Changeset View
Standalone View
Standalone View
src/lib/definition.h
Show First 20 Lines • Show All 166 Lines • ▼ Show 20 Line(s) | 70 | public: | |||
---|---|---|---|---|---|
167 | * | 167 | * | ||
168 | * @note This list is only of relevance, if indentationBasedFoldingEnabled() | 168 | * @note This list is only of relevance, if indentationBasedFoldingEnabled() | ||
169 | * returns @c true. | 169 | * returns @c true. | ||
170 | * | 170 | * | ||
171 | * @see indentationBasedFoldingEnabled() | 171 | * @see indentationBasedFoldingEnabled() | ||
172 | */ | 172 | */ | ||
173 | QStringList foldingIgnoreList() const; | 173 | QStringList foldingIgnoreList() const; | ||
174 | 174 | | |||
175 | /** | ||||
176 | * Returns a list of Definitions that are referenced with the IncludeRules rule. | ||||
177 | * The returned list includes this Definition as well as any recursively used | ||||
178 | * Definition. | ||||
179 | * | ||||
180 | * @since 5.49 | ||||
181 | */ | ||||
182 | QVector<Definition> includedDefinitions() const; | ||||
183 | | ||||
175 | private: | 184 | private: | ||
176 | friend class DefinitionData; | 185 | friend class DefinitionData; | ||
177 | friend class DefinitionRef; | 186 | friend class DefinitionRef; | ||
178 | explicit Definition(const std::shared_ptr<DefinitionData> &dd); | 187 | explicit Definition(const std::shared_ptr<DefinitionData> &dd); | ||
179 | std::shared_ptr<DefinitionData> d; | 188 | std::shared_ptr<DefinitionData> d; | ||
180 | }; | 189 | }; | ||
181 | 190 | | |||
182 | } | 191 | } | ||
183 | 192 | | |||
184 | Q_DECLARE_TYPEINFO(KSyntaxHighlighting::Definition, Q_MOVABLE_TYPE); | 193 | Q_DECLARE_TYPEINFO(KSyntaxHighlighting::Definition, Q_MOVABLE_TYPE); | ||
185 | 194 | | |||
186 | #endif | 195 | #endif |