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.
This commit is contained in:
David Lattimore 2020-06-15 21:36:30 +10:00
parent db6100dbaa
commit fe7d35d477

View File

@ -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};