| 1105 | } |
| 1106 | |
| 1107 | static bool elixir_binary_operator_binds(CBMExtractCtx *ctx, TSNode node) { |
| 1108 | if (ctx->language != CBM_LANG_ELIXIR || strcmp(ts_node_type(node), "binary_operator") != 0) { |
| 1109 | return false; |
| 1110 | } |
| 1111 | TSNode operator_node = ts_node_child_by_field_name(node, TS_FIELD("operator")); |
| 1112 | return text_equals(ctx, operator_node, "=") || text_equals(ctx, operator_node, "<-") || |
| 1113 | text_equals(ctx, operator_node, "->") || text_equals(ctx, operator_node, "\\\\"); |
| 1114 | } |
| 1115 | |
| 1116 | static bool is_binding_occurrence(CBMExtractCtx *ctx, TSNode node, const CBMLangSpec *spec, |
| 1117 | WalkState *state) { |
no test coverage detected