creynders
creynders
Also, what's the use of having the ArrayExpression `push` etc methods, if none of the node classes are exposed? Obviously we could go the `require('ast-query/lib/nodes').ObjectExpression` route, but that's hardly inviting...
> About the push method, you need to pass a code string representing the value. Ah, yes of course, thanks. I'd gladly help flesh out the API, but am still...
Hi there, I haven't forgotten about this, just been swamped with work. I'll be pushing the node iteration later today normally. However, ATM I'm working on providing `toString` methods for...
So, thinking about all of this some more and digging through the code, I'm leaning towards a more versatile API (I hope), something like this: https://gist.github.com/creynders/a7e057922f20c7d188ea
> how would you manage it when there's multiple nodes matching a query? That's already there: `nodes(1).arguments(0);` Would take the first argument of the second query result. > That seems...
> I meant more how it'd be handle in the case of toString That depends, I guess. As I see it now, which might change soon enough, there's basically the...
It's a bit hard to explain, but basically it comes down to this: I have a number of things that are automatically attached to all Backbone.sync requests (e.g. a unique...
Back then the guard made totally sense, since `model` was optional... Which I think TBH it still should be 😁
Just had a deeper look at the code and if I'm not mistaken that's definitely not possible ATM.