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

Function is_string_like

internal/cbm/extract_calls.c:62–67  ·  view source on GitHub ↗

Check if a node type is a string literal */

Source from the content-addressed store, hash-verified

60
61/* Check if a node type is a string literal */
62static int is_string_like(const char *kind) {
63 return (strcmp(kind, "string") == 0 || strcmp(kind, "string_literal") == 0 ||
64 strcmp(kind, "interpreted_string_literal") == 0 ||
65 strcmp(kind, "raw_string_literal") == 0 || strcmp(kind, "string_content") == 0 ||
66 strcmp(kind, "line_string_literal") == 0);
67}
68
69/* Strip surrounding quotes from a string, return arena-allocated copy */
70static const char *strip_quotes(CBMArena *a, const char *text) {

Callers 8

extract_nth_string_argFunction · 0.85
python_iris_cls_calleeFunction · 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