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

Function pp_client_navigation_lang

src/pipeline/pass_parallel.c:2493–2497  ·  view source on GitHub ↗

File-language scope of the client-navigation heuristic (#1250): the JS/TS * family and the hosts that embed it. Kept explicit so changes to the * weak-member guard cannot broaden it. */

Source from the content-addressed store, hash-verified

2491 * family and the hosts that embed it. Kept explicit so changes to the
2492 * weak-member guard cannot broaden it. */
2493static bool pp_client_navigation_lang(CBMLanguage lang) {
2494 return lang == CBM_LANG_JAVASCRIPT || lang == CBM_LANG_TYPESCRIPT || lang == CBM_LANG_TSX ||
2495 lang == CBM_LANG_ARKTS || lang == CBM_LANG_HTML || lang == CBM_LANG_VUE ||
2496 lang == CBM_LANG_SVELTE || lang == CBM_LANG_ASTRO;
2497}
2498
2499/* Detect API paths in call arguments and create HTTP_CALLS edges. */
2500static void detect_url_in_args(cbm_gbuf_t *gbuf, const cbm_gbuf_node_t *source, const CBMCall *call,

Callers 1

emit_service_edgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected