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

Function unsupported_clause_error

src/cypher/cypher.c:805–834  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803/* ── Unsupported keyword detection ─────────────────────────────── */
804
805static 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

Callers 2

parse_post_whereFunction · 0.85
cbm_parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected