pub fn check_sheet(
sheet: &Sheet,
registry: &TypeRegistry,
lookup: &OpLookup,
) -> Vec<ParseError>Expand description
Projects runtime registrations and checks a sheet without application callbacks.
Projection failures and incomplete prerequisites produce explicit diagnostics. Match-key value comparisons and graph solvability remain runtime checks.
- Complexity: Environment projection plus symbolic body and dependency checking.
ยงExamples
let sheet = adam_lang::AdamAstParser::new()
.parse_str("sheet app { cell x: i32 = true; }").unwrap();
assert!(!adam_lang::check_sheet(&sheet, &adam_lang::TypeRegistry::new(),
&cel_parser::OpLookup::new()).is_empty());