| 837 | /* ── Unsupported keyword detection ─────────────────────────────── */ |
| 838 | |
| 839 | static const char *unsupported_clause_error(cbm_token_type_t type) { |
| 840 | switch (type) { |
| 841 | case TOK_CREATE: |
| 842 | return "unsupported Cypher feature: CREATE clause (write operations not supported)"; |
| 843 | case TOK_DELETE: |
| 844 | return "unsupported Cypher feature: DELETE clause (write operations not supported)"; |
| 845 | case TOK_DETACH: |
| 846 | return "unsupported Cypher feature: DETACH DELETE (write operations not supported)"; |
| 847 | case TOK_SET: |
| 848 | return "unsupported Cypher feature: SET clause (write operations not supported)"; |
| 849 | case TOK_REMOVE: |
| 850 | return "unsupported Cypher feature: REMOVE clause (write operations not supported)"; |
| 851 | case TOK_MERGE: |
| 852 | return "unsupported Cypher feature: MERGE clause (write operations not supported)"; |
| 853 | case TOK_YIELD: |
| 854 | return "unsupported Cypher feature: YIELD clause"; |
| 855 | case TOK_CALL: |
| 856 | return "unsupported Cypher feature: CALL clause (stored procedures not supported)"; |
| 857 | case TOK_FOREACH: |
| 858 | return "unsupported Cypher feature: FOREACH clause"; |
| 859 | case TOK_MANDATORY: |
| 860 | return "unsupported Cypher feature: MANDATORY MATCH"; |
| 861 | case TOK_DROP: |
| 862 | return "unsupported Cypher feature: DROP (schema operations not supported)"; |
| 863 | case TOK_CONSTRAINT: |
| 864 | return "unsupported Cypher feature: CONSTRAINT (schema operations not supported)"; |
| 865 | default: |
| 866 | return NULL; |
| 867 | } |
| 868 | } |
| 869 | |
| 870 | /* ── Recursive descent WHERE parser (Phase 2) ──────────────────── */ |
| 871 |
no outgoing calls
no test coverage detected