| 3252 | } |
| 3253 | |
| 3254 | static 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 | |
| 3261 | static bool kotlin_index_is_write_lhs(TSNode index) { |
| 3262 | for (TSNode parent = ts_node_parent(index); !ts_node_is_null(parent); |
no test coverage detected