Commit 531f407
Add separator support to codegen
This allows to mark subnodes with #[sep], which will result in
"splitting" the node using them, allowing to match other fields only
if found in the proper separation.
For instance, this will work:
Addition {
lhs: Expr,
#[sep] Plus,
rhs: Expr
}1 parent 01d8ec0 commit 531f407
File tree
3 files changed
+438
-395
lines changed- crates/ra_syntax/src/ast
- xtask/src
- codegen
3 files changed
+438
-395
lines changed
0 commit comments