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

Function go_is_function_boundary

internal/cbm/extract_calls.c:2038–2041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2036}
2037
2038static bool go_is_function_boundary(const char *k) {
2039 return strcmp(k, "function_declaration") == 0 || strcmp(k, "method_declaration") == 0 ||
2040 strcmp(k, "func_literal") == 0 || strcmp(k, "source_file") == 0;
2041}
2042
2043/* Latest binding of `name` among the statements preceding `use` in its
2044 * enclosing blocks, innermost block first; a null node when none. */

Callers 1

go_find_bindingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected