work
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
mod body;
|
||||
mod expr;
|
||||
mod func;
|
||||
mod ident;
|
||||
mod item;
|
||||
mod module;
|
||||
mod statement;
|
||||
mod ty;
|
||||
pub use body::*;
|
||||
pub use expr::*;
|
||||
pub use func::*;
|
||||
pub use ident::*;
|
||||
pub use item::*;
|
||||
pub use module::*;
|
||||
pub use statement::*;
|
||||
pub use ty::*;
|
||||
|
||||
use super::{DisplayCtx, FmtNode, Id, Lit, Node, NodeVec, Parsable, ParseCtx, Token};
|
||||
@@ -17,11 +15,10 @@ use crate::io::CompilerMsg;
|
||||
def_nodes! {
|
||||
exprs: Expr,
|
||||
idents: Ident,
|
||||
statements: Statement,
|
||||
blocks: Module,
|
||||
blocks: Body,
|
||||
lits: Lit,
|
||||
types: Type,
|
||||
items: Item,
|
||||
funcs: Func,
|
||||
}
|
||||
|
||||
macro_rules! def_nodes {
|
||||
|
||||
Reference in New Issue
Block a user