Skip to main content

validate

Function validate 

Source
pub fn validate(state: &ArchitectureState) -> Vec<ValidationError>
Expand description

Validate an ArchitectureState and return all problems found.

An empty Vec means the state is valid and codegen may proceed. Any entry with Severity::Error should block generation.