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/ast | |
parent | 2e2445444abcde9fc2f50c70a8157958f7d5ddd8 (diff) |
Add some more DocCommentsOwner
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index 3878c99a8..8cf3222f7 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -608,6 +608,7 @@ impl<R: TreeRoot<RaTypes>> ConstDefNode<R> { | |||
608 | impl<'a> ast::NameOwner<'a> for ConstDef<'a> {} | 608 | impl<'a> ast::NameOwner<'a> for ConstDef<'a> {} |
609 | impl<'a> ast::TypeParamsOwner<'a> for ConstDef<'a> {} | 609 | impl<'a> ast::TypeParamsOwner<'a> for ConstDef<'a> {} |
610 | impl<'a> ast::AttrsOwner<'a> for ConstDef<'a> {} | 610 | impl<'a> ast::AttrsOwner<'a> for ConstDef<'a> {} |
611 | impl<'a> ast::DocCommentsOwner<'a> for ConstDef<'a> {} | ||
611 | impl<'a> ConstDef<'a> {} | 612 | impl<'a> ConstDef<'a> {} |
612 | 613 | ||
613 | // ContinueExpr | 614 | // ContinueExpr |
@@ -722,6 +723,7 @@ impl<R: TreeRoot<RaTypes>> EnumDefNode<R> { | |||
722 | impl<'a> ast::NameOwner<'a> for EnumDef<'a> {} | 723 | impl<'a> ast::NameOwner<'a> for EnumDef<'a> {} |
723 | impl<'a> ast::TypeParamsOwner<'a> for EnumDef<'a> {} | 724 | impl<'a> ast::TypeParamsOwner<'a> for EnumDef<'a> {} |
724 | impl<'a> ast::AttrsOwner<'a> for EnumDef<'a> {} | 725 | impl<'a> ast::AttrsOwner<'a> for EnumDef<'a> {} |
726 | impl<'a> ast::DocCommentsOwner<'a> for EnumDef<'a> {} | ||
725 | impl<'a> EnumDef<'a> {} | 727 | impl<'a> EnumDef<'a> {} |
726 | 728 | ||
727 | // Expr | 729 | // Expr |
@@ -1886,6 +1888,7 @@ impl<R: TreeRoot<RaTypes>> ModuleNode<R> { | |||
1886 | 1888 | ||
1887 | impl<'a> ast::NameOwner<'a> for Module<'a> {} | 1889 | impl<'a> ast::NameOwner<'a> for Module<'a> {} |
1888 | impl<'a> ast::AttrsOwner<'a> for Module<'a> {} | 1890 | impl<'a> ast::AttrsOwner<'a> for Module<'a> {} |
1891 | impl<'a> ast::DocCommentsOwner<'a> for Module<'a> {} | ||
1889 | impl<'a> Module<'a> { | 1892 | impl<'a> Module<'a> { |
1890 | pub fn item_list(self) -> Option<ItemList<'a>> { | 1893 | pub fn item_list(self) -> Option<ItemList<'a>> { |
1891 | super::child_opt(self) | 1894 | super::child_opt(self) |
@@ -3205,6 +3208,7 @@ impl<R: TreeRoot<RaTypes>> StaticDefNode<R> { | |||
3205 | impl<'a> ast::NameOwner<'a> for StaticDef<'a> {} | 3208 | impl<'a> ast::NameOwner<'a> for StaticDef<'a> {} |
3206 | impl<'a> ast::TypeParamsOwner<'a> for StaticDef<'a> {} | 3209 | impl<'a> ast::TypeParamsOwner<'a> for StaticDef<'a> {} |
3207 | impl<'a> ast::AttrsOwner<'a> for StaticDef<'a> {} | 3210 | impl<'a> ast::AttrsOwner<'a> for StaticDef<'a> {} |
3211 | impl<'a> ast::DocCommentsOwner<'a> for StaticDef<'a> {} | ||
3208 | impl<'a> StaticDef<'a> {} | 3212 | impl<'a> StaticDef<'a> {} |
3209 | 3213 | ||
3210 | // Stmt | 3214 | // Stmt |
@@ -3270,6 +3274,7 @@ impl<R: TreeRoot<RaTypes>> StructDefNode<R> { | |||
3270 | impl<'a> ast::NameOwner<'a> for StructDef<'a> {} | 3274 | impl<'a> ast::NameOwner<'a> for StructDef<'a> {} |
3271 | impl<'a> ast::TypeParamsOwner<'a> for StructDef<'a> {} | 3275 | impl<'a> ast::TypeParamsOwner<'a> for StructDef<'a> {} |
3272 | impl<'a> ast::AttrsOwner<'a> for StructDef<'a> {} | 3276 | impl<'a> ast::AttrsOwner<'a> for StructDef<'a> {} |
3277 | impl<'a> ast::DocCommentsOwner<'a> for StructDef<'a> {} | ||
3273 | impl<'a> StructDef<'a> { | 3278 | impl<'a> StructDef<'a> { |
3274 | pub fn fields(self) -> impl Iterator<Item = NamedFieldDef<'a>> + 'a { | 3279 | pub fn fields(self) -> impl Iterator<Item = NamedFieldDef<'a>> + 'a { |
3275 | super::children(self) | 3280 | super::children(self) |
@@ -3424,6 +3429,7 @@ impl<R: TreeRoot<RaTypes>> TraitDefNode<R> { | |||
3424 | 3429 | ||
3425 | impl<'a> ast::NameOwner<'a> for TraitDef<'a> {} | 3430 | impl<'a> ast::NameOwner<'a> for TraitDef<'a> {} |
3426 | impl<'a> ast::AttrsOwner<'a> for TraitDef<'a> {} | 3431 | impl<'a> ast::AttrsOwner<'a> for TraitDef<'a> {} |
3432 | impl<'a> ast::DocCommentsOwner<'a> for TraitDef<'a> {} | ||
3427 | impl<'a> TraitDef<'a> {} | 3433 | impl<'a> TraitDef<'a> {} |
3428 | 3434 | ||
3429 | // TryExpr | 3435 | // TryExpr |
@@ -3649,6 +3655,7 @@ impl<R: TreeRoot<RaTypes>> TypeDefNode<R> { | |||
3649 | impl<'a> ast::NameOwner<'a> for TypeDef<'a> {} | 3655 | impl<'a> ast::NameOwner<'a> for TypeDef<'a> {} |
3650 | impl<'a> ast::TypeParamsOwner<'a> for TypeDef<'a> {} | 3656 | impl<'a> ast::TypeParamsOwner<'a> for TypeDef<'a> {} |
3651 | impl<'a> ast::AttrsOwner<'a> for TypeDef<'a> {} | 3657 | impl<'a> ast::AttrsOwner<'a> for TypeDef<'a> {} |
3658 | impl<'a> ast::DocCommentsOwner<'a> for TypeDef<'a> {} | ||
3652 | impl<'a> TypeDef<'a> {} | 3659 | impl<'a> TypeDef<'a> {} |
3653 | 3660 | ||
3654 | // TypeParam | 3661 | // TypeParam |