pub fn validate(node: &dyn Visitable) -> Result<(), Error>
Validate a visitable tree, collecting issues by path.