add minimal comments
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//! Various extension methods to ast Expr Nodes, which are hard to code-generate.
|
||||
|
||||
use crate::{
|
||||
SyntaxToken, SyntaxElement, SmolStr,
|
||||
ast::{self, AstNode, AstChildren, children, child_opt},
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
//! Various extension methods to ast Nodes, which are hard to code-generate.
|
||||
//! Extensions for various expressions live in a sibling `expr_extensions` module.
|
||||
|
||||
use itertools::Itertools;
|
||||
|
||||
use crate::{
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! There are many AstNodes, but only a few tokens, so we hand-write them here.
|
||||
|
||||
use crate::{
|
||||
SyntaxToken,
|
||||
SyntaxKind::{COMMENT, WHITESPACE},
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//! Various traits that are implemented by ast nodes.
|
||||
//!
|
||||
//! The implementations are usually trivial, and live in generated.rs
|
||||
|
||||
use itertools::Itertools;
|
||||
|
||||
use crate::{
|
||||
|
||||
Reference in New Issue
Block a user