enum Node
pub enum Node :: [Debug]
Conforms to Debug.
Any node, for a walk over a tree: what children() gives and walk(f) visits.
Variants
Expr(Box<Expr>)
Stmt(Box<Stmt>)
Decl(Box<Decl>)
Type(Box<Type>)
Pattern(Box<Pattern>)
Methods
pub fn children(): Node[]
Returns the nodes directly inside this one.
pub fn walk(f: fn(Node) -> void): void
Calls f at this node and every node below it, parents before children, in source order.