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

Function unsupported_clause_error

src/cypher/cypher.c:848–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

parse_post_whereFunction · 0.85
parse_query_blockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected