Skip to main content

validate

Function validate 

Source
pub fn validate(node: &Node) -> Result<(), String>
Expand description

Checks that expansion and offset stages already ran over node.

Rejects any surviving macro, offset, or settings node.

ยงErrors

Returns an error naming the first node an earlier stage should have eliminated.