aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast
diff options
context:
space:
mode:
authorJeremy A. Kolb <[email protected]>2018-11-02 13:59:07 +0000
committerAleksey Kladov <[email protected]>2018-11-07 15:24:55 +0000
commit6df71da81f9260890ac42ed992946543d697e57c (patch)
tree93bc22feff1cd602f2e50bbbb8761a1e0e064c45 /crates/ra_syntax/src/ast
parent2e2445444abcde9fc2f50c70a8157958f7d5ddd8 (diff)
Add some more DocCommentsOwner
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r--crates/ra_syntax/src/ast/generated.rs7
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> {
608impl<'a> ast::NameOwner<'a> for ConstDef<'a> {} 608impl<'a> ast::NameOwner<'a> for ConstDef<'a> {}
609impl<'a> ast::TypeParamsOwner<'a> for ConstDef<'a> {} 609impl<'a> ast::TypeParamsOwner<'a> for ConstDef<'a> {}
610impl<'a> ast::AttrsOwner<'a> for ConstDef<'a> {} 610impl<'a> ast::AttrsOwner<'a> for ConstDef<'a> {}
611impl<'a> ast::DocCommentsOwner<'a> for ConstDef<'a> {}
611impl<'a> ConstDef<'a> {} 612impl<'a> ConstDef<'a> {}
612 613
613// ContinueExpr 614// ContinueExpr
@@ -722,6 +723,7 @@ impl<R: TreeRoot<RaTypes>> EnumDefNode<R> {
722impl<'a> ast::NameOwner<'a> for EnumDef<'a> {} 723impl<'a> ast::NameOwner<'a> for EnumDef<'a> {}
723impl<'a> ast::TypeParamsOwner<'a> for EnumDef<'a> {} 724impl<'a> ast::TypeParamsOwner<'a> for EnumDef<'a> {}
724impl<'a> ast::AttrsOwner<'a> for EnumDef<'a> {} 725impl<'a> ast::AttrsOwner<'a> for EnumDef<'a> {}
726impl<'a> ast::DocCommentsOwner<'a> for EnumDef<'a> {}
725impl<'a> EnumDef<'a> {} 727impl<'a> EnumDef<'a> {}
726 728
727// Expr 729// Expr
@@ -1886,6 +1888,7 @@ impl<R: TreeRoot<RaTypes>> ModuleNode<R> {
1886 1888
1887impl<'a> ast::NameOwner<'a> for Module<'a> {} 1889impl<'a> ast::NameOwner<'a> for Module<'a> {}
1888impl<'a> ast::AttrsOwner<'a> for Module<'a> {} 1890impl<'a> ast::AttrsOwner<'a> for Module<'a> {}
1891impl<'a> ast::DocCommentsOwner<'a> for Module<'a> {}
1889impl<'a> Module<'a> { 1892impl<'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> {
3205impl<'a> ast::NameOwner<'a> for StaticDef<'a> {} 3208impl<'a> ast::NameOwner<'a> for StaticDef<'a> {}
3206impl<'a> ast::TypeParamsOwner<'a> for StaticDef<'a> {} 3209impl<'a> ast::TypeParamsOwner<'a> for StaticDef<'a> {}
3207impl<'a> ast::AttrsOwner<'a> for StaticDef<'a> {} 3210impl<'a> ast::AttrsOwner<'a> for StaticDef<'a> {}
3211impl<'a> ast::DocCommentsOwner<'a> for StaticDef<'a> {}
3208impl<'a> StaticDef<'a> {} 3212impl<'a> StaticDef<'a> {}
3209 3213
3210// Stmt 3214// Stmt
@@ -3270,6 +3274,7 @@ impl<R: TreeRoot<RaTypes>> StructDefNode<R> {
3270impl<'a> ast::NameOwner<'a> for StructDef<'a> {} 3274impl<'a> ast::NameOwner<'a> for StructDef<'a> {}
3271impl<'a> ast::TypeParamsOwner<'a> for StructDef<'a> {} 3275impl<'a> ast::TypeParamsOwner<'a> for StructDef<'a> {}
3272impl<'a> ast::AttrsOwner<'a> for StructDef<'a> {} 3276impl<'a> ast::AttrsOwner<'a> for StructDef<'a> {}
3277impl<'a> ast::DocCommentsOwner<'a> for StructDef<'a> {}
3273impl<'a> StructDef<'a> { 3278impl<'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
3425impl<'a> ast::NameOwner<'a> for TraitDef<'a> {} 3430impl<'a> ast::NameOwner<'a> for TraitDef<'a> {}
3426impl<'a> ast::AttrsOwner<'a> for TraitDef<'a> {} 3431impl<'a> ast::AttrsOwner<'a> for TraitDef<'a> {}
3432impl<'a> ast::DocCommentsOwner<'a> for TraitDef<'a> {}
3427impl<'a> TraitDef<'a> {} 3433impl<'a> TraitDef<'a> {}
3428 3434
3429// TryExpr 3435// TryExpr
@@ -3649,6 +3655,7 @@ impl<R: TreeRoot<RaTypes>> TypeDefNode<R> {
3649impl<'a> ast::NameOwner<'a> for TypeDef<'a> {} 3655impl<'a> ast::NameOwner<'a> for TypeDef<'a> {}
3650impl<'a> ast::TypeParamsOwner<'a> for TypeDef<'a> {} 3656impl<'a> ast::TypeParamsOwner<'a> for TypeDef<'a> {}
3651impl<'a> ast::AttrsOwner<'a> for TypeDef<'a> {} 3657impl<'a> ast::AttrsOwner<'a> for TypeDef<'a> {}
3658impl<'a> ast::DocCommentsOwner<'a> for TypeDef<'a> {}
3652impl<'a> TypeDef<'a> {} 3659impl<'a> TypeDef<'a> {}
3653 3660
3654// TypeParam 3661// TypeParam