Closed tausbn closed 1 year ago
In the current grammar, it's nontrivial to write a query that matches only, say, uses of the in operator, as
in
(comparison_operator "in") @comp
will match both uses of in and not in.
not in
By adding an alias for not in and is not, these spurious matches go away.
is not
In the current grammar, it's nontrivial to write a query that matches only, say, uses of the
in
operator, aswill match both uses of
in
andnot in
.By adding an alias for
not in
andis not
, these spurious matches go away.