add minimal comments

This commit is contained in:
Aleksey Kladov 2019-04-02 13:02:23 +03:00
parent 0e1e40676a
commit ab19ff16e5
5 changed files with 13 additions and 0 deletions

View file

@ -1,4 +1,5 @@
//! Abstract Syntax Tree, layered on top of untyped `SyntaxNode`s
mod generated;
mod traits;
mod tokens;
@ -44,6 +45,7 @@ pub trait AstToken<'a> {
}
}
/// An iterator over `SyntaxNode` children of a particular AST type.
#[derive(Debug)]
pub struct AstChildren<'a, N> {
inner: SyntaxNodeChildren<'a>,