From 6efda8f6cefdd69c3bae892eb168971a465d2a8b Mon Sep 17 00:00:00 2001 From: Hirokazu Hata Date: Sun, 13 Jan 2019 20:52:25 +0900 Subject: Update TUPLE_EXPR grammar --- crates/ra_syntax/src/ast/generated.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crates/ra_syntax/src/ast') diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index f745cb1cb..94842a514 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs @@ -2969,7 +2969,11 @@ impl AstNode for TupleExpr { } -impl TupleExpr {} +impl TupleExpr { + pub fn exprs(&self) -> impl Iterator { + super::children(self) + } +} // TuplePat #[derive(Debug, PartialEq, Eq, Hash)] -- cgit v1.2.3