| 803 | /* ── Unsupported keyword detection ─────────────────────────────── */ |
| 804 | |
| 805 | static const char *unsupported_clause_error(cbm_token_type_t type) { |
| 806 | switch (type) { |
| 807 | case TOK_CREATE: |
| 808 | return "unsupported Cypher feature: CREATE clause (write operations not supported)"; |
| 809 | case TOK_DELETE: |
| 810 | return "unsupported Cypher feature: DELETE clause (write operations not supported)"; |
| 811 | case TOK_DETACH: |
| 812 | return "unsupported Cypher feature: DETACH DELETE (write operations not supported)"; |
| 813 | case TOK_SET: |
| 814 | return "unsupported Cypher feature: SET clause (write operations not supported)"; |
| 815 | case TOK_REMOVE: |
| 816 | return "unsupported Cypher feature: REMOVE clause (write operations not supported)"; |
| 817 | case TOK_MERGE: |
| 818 | return "unsupported Cypher feature: MERGE clause (write operations not supported)"; |
| 819 | case TOK_YIELD: |
| 820 | return "unsupported Cypher feature: YIELD clause"; |
| 821 | case TOK_CALL: |
| 822 | return "unsupported Cypher feature: CALL clause (stored procedures not supported)"; |
| 823 | case TOK_FOREACH: |
| 824 | return "unsupported Cypher feature: FOREACH clause"; |
| 825 | case TOK_MANDATORY: |
| 826 | return "unsupported Cypher feature: MANDATORY MATCH"; |
| 827 | case TOK_DROP: |
| 828 | return "unsupported Cypher feature: DROP (schema operations not supported)"; |
| 829 | case TOK_CONSTRAINT: |
| 830 | return "unsupported Cypher feature: CONSTRAINT (schema operations not supported)"; |
| 831 | default: |
| 832 | return NULL; |
| 833 | } |
| 834 | } |
| 835 | |
| 836 | /* ── Recursive descent WHERE parser (Phase 2) ──────────────────── */ |
| 837 |
no outgoing calls
no test coverage detected