From fe7d35d477de526cd4242ff3e00138b2464a5bfd Mon Sep 17 00:00:00 2001 From: David Lattimore Date: Mon, 15 Jun 2020 21:36:30 +1000 Subject: Make ra_syntax::{SyntaxNodeChildren, SyntaxElementChildren} public. SyntaxNode::children and SyntaxNode::children_with_tokens return these types, but there's currently no way AFAIK to name them. --- crates/ra_syntax/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ra_syntax/src/lib.rs b/crates/ra_syntax/src/lib.rs index 61e686da5..a33a35cc1 100644 --- a/crates/ra_syntax/src/lib.rs +++ b/crates/ra_syntax/src/lib.rs @@ -51,7 +51,8 @@ pub use crate::{ ptr::{AstPtr, SyntaxNodePtr}, syntax_error::SyntaxError, syntax_node::{ - Direction, NodeOrToken, SyntaxElement, SyntaxNode, SyntaxToken, SyntaxTreeBuilder, + Direction, NodeOrToken, SyntaxElement, SyntaxElementChildren, SyntaxNode, + SyntaxNodeChildren, SyntaxToken, SyntaxTreeBuilder, }, }; pub use ra_parser::{SyntaxKind, T}; -- cgit v1.2.3