Skip to main content

validate_tree

Function validate_tree 

Source
pub fn validate_tree(
    tree: &DocTree,
    contract: &Contract,
    path: &str,
) -> Vec<Finding>
Expand description

Validate a pre-parsed tree against a contract: outline scan, structure plane (with node-local rules), content plane (frontmatter schema + content leaves), doc-scoped rules, deterministic sort.