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

Function elixir_call_args

internal/cbm/extract_defs.c:4350–4356  ·  view source on GitHub ↗

Get the "arguments" node for an Elixir call, with fallback to second child.

Source from the content-addressed store, hash-verified

4348
4349// Get the "arguments" node for an Elixir call, with fallback to second child.
4350static TSNode elixir_call_args(TSNode node) {
4351 TSNode args = ts_node_child_by_field_name(node, TS_FIELD("arguments"));
4352 if (ts_node_is_null(args) && ts_node_child_count(node) > SECOND_CHILD_IDX) {
4353 args = ts_node_child(node, SECOND_CHILD_IDX);
4354 }
4355 return args;
4356}
4357
4358// Handle Elixir def/defp/defmacro — extract function definition.
4359static void extract_elixir_func_def(CBMExtractCtx *ctx, TSNode node, const char *macro) {

Callers 2

extract_elixir_func_defFunction · 0.85
emit_elixir_module_classFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected