omnigraph/crates/omnigraph-compiler/src/query
andrew 94849a50b4 Extract compiler test modules to sibling files
typecheck.rs, schema/parser.rs, and query/parser.rs each had
~1000-line inline `mod tests` blocks that overshadowed the production
code in the file. Move each to a sibling `*_tests.rs` using
`#[path = "..."] mod tests;`.

- typecheck.rs: 2865 → 1708 lines; typecheck_tests.rs: 1156 lines
- schema/parser.rs: 1950 → 994 lines; parser_tests.rs: 955 lines
- query/parser.rs: 1737 → 803 lines; parser_tests.rs: 933 lines

No visibility change — the sibling module still has `use super::*`
access to crate-privates. No semantic edits beyond de-indenting by
4 spaces (mechanical). All 229 compiler tests green, identical
count to before.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 14:50:18 +03:00
..
ast.rs Fix nullable query parameters: accept omission and null for ? params 2026-04-13 08:43:48 +00:00
lint.rs Add query lint and check commands 2026-04-13 00:37:44 +03:00
mod.rs Add query lint and check commands 2026-04-13 00:37:44 +03:00
parser.rs Extract compiler test modules to sibling files 2026-04-20 14:50:18 +03:00
parser_tests.rs Extract compiler test modules to sibling files 2026-04-20 14:50:18 +03:00
query.pest Support multi-statement mutations (insert + edge in one query) 2026-04-11 20:27:51 +00:00
typecheck.rs Extract compiler test modules to sibling files 2026-04-20 14:50:18 +03:00
typecheck_tests.rs Extract compiler test modules to sibling files 2026-04-20 14:50:18 +03:00