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

Function unsupported_clause_error

src/cypher/cypher.c:838–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

parse_post_whereFunction · 0.85
cbm_parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected