pub fn validate_output(
code: &str,
file: &File,
lang: Language,
) -> Result<(), Vec<String>>Expand description
Validate generated code for structural correctness.
Checks:
- Expected entity/action names are present
- Delimiters are balanced
- No leftover
todo!()/throw "not implemented"/raise NotImplementedErrorstubs - Contract test functions are present (if spec has test blocks)