Open rrrnld opened 3 months ago
In your function you should actually mutate the array by using .splice
on nodes
. That is why nodesRemoved
is important, so that the caller knows how the array changed.
If you check in the linters, there should be some code that detects =
followed by units that you could use.
How would I parse macros like this?
I have tried this:
But it doesn't to collect the arguments / remove them from the AST.