diff options
Diffstat (limited to 'crates/ra_syntax/src/ast.rs')
-rw-r--r-- | crates/ra_syntax/src/ast.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast.rs b/crates/ra_syntax/src/ast.rs index dcc71eabe..9f5c41b0c 100644 --- a/crates/ra_syntax/src/ast.rs +++ b/crates/ra_syntax/src/ast.rs | |||
@@ -1,4 +1,5 @@ | |||
1 | //! Abstract Syntax Tree, layered on top of untyped `SyntaxNode`s | 1 | //! Abstract Syntax Tree, layered on top of untyped `SyntaxNode`s |
2 | |||
2 | mod generated; | 3 | mod generated; |
3 | mod traits; | 4 | mod traits; |
4 | mod tokens; | 5 | mod tokens; |
@@ -44,6 +45,7 @@ pub trait AstToken<'a> { | |||
44 | } | 45 | } |
45 | } | 46 | } |
46 | 47 | ||
48 | /// An iterator over `SyntaxNode` children of a particular AST type. | ||
47 | #[derive(Debug)] | 49 | #[derive(Debug)] |
48 | pub struct AstChildren<'a, N> { | 50 | pub struct AstChildren<'a, N> { |
49 | inner: SyntaxNodeChildren<'a>, | 51 | inner: SyntaxNodeChildren<'a>, |