sorry there is probably a write(s); in the middle there as well :)

On Sat, Sep 14, 2019 at 11:08 AM Greg Dove <[email protected]> wrote:

> Josh, I think this is a question more for you...
>
> In terms of source mapping... is the 'stringifyNode' pattern that is used
> in some places supported?
>
> For example
>
> s = stringifyNode(myNode); //<-walks and presumably creates mappings like
> normal
>
> write("("): //<-- some wrapper around 's' content (could be any arbitrary
> length pre-pended for example
> s = s.substring(2,s.length()-3); //<--- some manipulation of s
> write(")") //<-- something else to wrap the stuff that changed.
>
> I did not look to see if this was somehow supported, so this is just a
> lazy question based on my wondering if/how it was. I did not specifically
> test output that uses those parts yet.
>
>

Reply via email to