MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / unsupported_clause_error

Function unsupported_clause_error

src/cypher/cypher.c:839–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837/* ── Unsupported keyword detection ─────────────────────────────── */
838
839static 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

Callers 2

parse_post_whereFunction · 0.85
cbm_parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected