work
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user