-
Hello, Thank you for the amazing work on swc, wanted to ask if it's possible to get line column number corresponding to nodes when travering the ast generated by swc. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
well, i found the methods to convert Span to location in the rust code, these are not exposed to the web assembly version currently i guess. |
Beta Was this translation helpful? Give feedback.
-
Currently, it's true. There's no api for it. I'm considering something like |
Beta Was this translation helpful? Give feedback.
Currently, it's true. There's no api for it.
I'm considering something like
babelify
which will return babel ast to javascript.Related to: #1465