by billconan · 8y ago · 0 comments
I'm mostly interested in writing a docstring document (like jsDoc) generator. So I care if this parser can keep comments. From the readme I saw it does. But from the demo page, I checked "attach comment", but I couldn't see comments in the parsed result.
Cherow collect comments. The version before v. 1.0 also kept comment or attached node directly on the AST itself. I removed it due to perf reasons and no one - I thought at least - was using it anymore. If that is something you would need, I can add it back. Shouldn't take long.