fn validate_node(&mut self, ctx: &Context, node: NodePtr) {
        if let Err(e) = validate_node(ctx, node) {
            self.errors.push(e);
        }
        node.visit_children(ctx, self);
    }
/// Validate `node` and recursively validate its children.
Validate `node` and recursively validate its children.
Validate ` node ` and recursively validate its children .
fn validate_node(&mut self, ctx: &Context, node: NodePtr) {
        if let Err(e) = validate_node(ctx, node) {
            self.errors.push(e);
        }
        node.visit_children(ctx, self);
    }
fn validate_node ( & mut self , ctx : & Context , node : NodePtr ) { if let Err ( e ) = validate_node ( ctx , node ) { self . errors . push ( e ) ; } node . visit_children ( ctx , self ) ; }
Validate `node` and recursively validate its children.
Validate ` node ` and recursively validate its children .
&mut self
ctx
&Context
node
NodePtr
&mut self
ctx
&Context
node
NodePtr