Open WeiFoo opened 8 years ago
As you found out, there are already tokens in place for comments which are not used. I'm not exactly sure how one would go about putting comments in the model as they can appear basically everywhere. So every source element would need a comment array and additionally a trailing comment array for the trailing comments of parsed code. Then we would need a way to parse them without cluttering every rule of the parser. I'm sure there are good ways to do this, I just don't know any right now. :)
This is a great tool for python. Actually, I wanna have the block comments in the java code. Is it possible to that infomation?
Thanks,