| 1056 | } |
| 1057 | |
| 1058 | static bool elixir_binary_operator_binds(CBMExtractCtx *ctx, TSNode node) { |
| 1059 | if (ctx->language != CBM_LANG_ELIXIR || strcmp(ts_node_type(node), "binary_operator") != 0) { |
| 1060 | return false; |
| 1061 | } |
| 1062 | TSNode operator_node = ts_node_child_by_field_name(node, TS_FIELD("operator")); |
| 1063 | return text_equals(ctx, operator_node, "=") || text_equals(ctx, operator_node, "<-") || |
| 1064 | text_equals(ctx, operator_node, "->") || text_equals(ctx, operator_node, "\\\\"); |
| 1065 | } |
| 1066 | |
| 1067 | static bool is_binding_occurrence(CBMExtractCtx *ctx, TSNode node, const CBMLangSpec *spec, |
| 1068 | WalkState *state) { |
no test coverage detected