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

Function count_call_args

internal/cbm/lsp/java_lsp.c:216–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216static int count_call_args(TSNode call_node) {
217 if (ts_node_is_null(call_node))
218 return 0;
219 TSNode args = ts_node_child_by_field_name(call_node, "arguments", 9);
220 if (ts_node_is_null(args))
221 return 0;
222 return (int)ts_node_named_child_count(args);
223}
224
225/* Strip generic parameters from a type text (List<String> → List). */
226static const char *strip_generics(CBMArena *a, const char *type_text) {

Callers 4

eval_method_invocationFunction · 0.85
resolve_method_callFunction · 0.85
lookup_method_for_callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected