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

Function is_string_like

internal/cbm/extract_calls.c:48–52  ·  view source on GitHub ↗

Check if a node type is a string literal */

Source from the content-addressed store, hash-verified

46
47/* Check if a node type is a string literal */
48static int is_string_like(const char *kind) {
49 return (strcmp(kind, "string") == 0 || strcmp(kind, "string_literal") == 0 ||
50 strcmp(kind, "interpreted_string_literal") == 0 ||
51 strcmp(kind, "raw_string_literal") == 0 || strcmp(kind, "string_content") == 0);
52}
53
54/* Strip surrounding quotes from a string, return arena-allocated copy */
55static const char *strip_quotes(CBMArena *a, const char *text) {

Callers 6

extract_nth_string_argFunction · 0.85
process_keyword_argFunction · 0.85
extract_call_argsFunction · 0.85
extract_string_valueFunction · 0.85
extract_positional_urlFunction · 0.85
extract_handler_argFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected