diff options
author | Jeremy A. Kolb <[email protected]> | 2018-11-02 13:59:07 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-07 15:24:55 +0000 |
commit | 6df71da81f9260890ac42ed992946543d697e57c (patch) | |
tree | 93bc22feff1cd602f2e50bbbb8761a1e0e064c45 /crates/ra_syntax/src/grammar.ron | |
parent | 2e2445444abcde9fc2f50c70a8157958f7d5ddd8 (diff) |
Add some more DocCommentsOwner
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 2ed165c52..1fa25dc4d 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -260,6 +260,7 @@ Grammar( | |||
260 | "NameOwner", | 260 | "NameOwner", |
261 | "TypeParamsOwner", | 261 | "TypeParamsOwner", |
262 | "AttrsOwner", | 262 | "AttrsOwner", |
263 | "DocCommentsOwner" | ||
263 | ], | 264 | ], |
264 | collections: [ | 265 | collections: [ |
265 | ["fields", "NamedFieldDef"] | 266 | ["fields", "NamedFieldDef"] |
@@ -270,10 +271,11 @@ Grammar( | |||
270 | "NameOwner", | 271 | "NameOwner", |
271 | "TypeParamsOwner", | 272 | "TypeParamsOwner", |
272 | "AttrsOwner", | 273 | "AttrsOwner", |
274 | "DocCommentsOwner" | ||
273 | ] ), | 275 | ] ), |
274 | "TraitDef": ( traits: ["NameOwner", "AttrsOwner"] ), | 276 | "TraitDef": ( traits: ["NameOwner", "AttrsOwner", "DocCommentsOwner"] ), |
275 | "Module": ( | 277 | "Module": ( |
276 | traits: ["NameOwner", "AttrsOwner" ], | 278 | traits: ["NameOwner", "AttrsOwner", "DocCommentsOwner" ], |
277 | options: [ "ItemList" ] | 279 | options: [ "ItemList" ] |
278 | ), | 280 | ), |
279 | "ItemList": ( | 281 | "ItemList": ( |
@@ -283,16 +285,19 @@ Grammar( | |||
283 | "NameOwner", | 285 | "NameOwner", |
284 | "TypeParamsOwner", | 286 | "TypeParamsOwner", |
285 | "AttrsOwner", | 287 | "AttrsOwner", |
288 | "DocCommentsOwner" | ||
286 | ] ), | 289 | ] ), |
287 | "StaticDef": ( traits: [ | 290 | "StaticDef": ( traits: [ |
288 | "NameOwner", | 291 | "NameOwner", |
289 | "TypeParamsOwner", | 292 | "TypeParamsOwner", |
290 | "AttrsOwner", | 293 | "AttrsOwner", |
294 | "DocCommentsOwner" | ||
291 | ] ), | 295 | ] ), |
292 | "TypeDef": ( traits: [ | 296 | "TypeDef": ( traits: [ |
293 | "NameOwner", | 297 | "NameOwner", |
294 | "TypeParamsOwner", | 298 | "TypeParamsOwner", |
295 | "AttrsOwner", | 299 | "AttrsOwner", |
300 | "DocCommentsOwner" | ||
296 | ] ), | 301 | ] ), |
297 | "ImplItem": (), | 302 | "ImplItem": (), |
298 | 303 | ||