This commit is contained in:
2026-04-17 00:09:00 -04:00
parent 83edad0cd8
commit e5ae506a84
11 changed files with 161 additions and 52 deletions
+6
View File
@@ -2,13 +2,17 @@ mod body;
mod expr;
mod func;
mod ident;
mod item;
mod param;
mod struct_;
mod ty;
pub use body::*;
pub use expr::*;
pub use func::*;
pub use ident::*;
pub use item::*;
pub use param::*;
pub use struct_::*;
pub use ty::*;
use super::{DisplayCtx, FmtNode, Id, Lit, Node, NodeVec, Parsable, ParseCtx, Token};
@@ -22,6 +26,8 @@ def_nodes! {
types: Type,
funcs: Func,
params: Param,
items: Item,
structs: Struct,
}
macro_rules! def_nodes {