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

Function kotlin_node_is_update

internal/cbm/extract_calls.c:3254–3259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3252}
3253
3254static bool kotlin_node_is_update(TSNode node) {
3255 const char *kind = ts_node_type(node);
3256 return (strcmp(kind, "prefix_expression") == 0 || strcmp(kind, "postfix_expression") == 0 ||
3257 strcmp(kind, "unary_expression") == 0) &&
3258 (kotlin_direct_unnamed_token(node, "++") || kotlin_direct_unnamed_token(node, "--"));
3259}
3260
3261static bool kotlin_index_is_write_lhs(TSNode index) {
3262 for (TSNode parent = ts_node_parent(index); !ts_node_is_null(parent);

Callers 1

Calls 1

Tested by

no test coverage detected