seattlerb/ruby_parser

Parsing comments

jrperron88-zz opened this issue · 2 comments

Has there been any thought into being able to keep comments in the parsing? Working on a project now that this is almost perfect for, but we need to preserve comments. From the documentation it sounds like you are supposed to support class/module/def/defn comments, but That hasn't worked for me, or any comments.

I don't think it'll ever be good at keeping all comments... but it definitely does (did?) work for class/module/defs/defn... Can you show me something not working for you?

no response... closing