comment_parser icon indicating copy to clipboard operation
comment_parser copied to clipboard

Python module to extract comments from source code files of various types.

Results 16 comment_parser issues
Sort by recently updated
recently updated
newest added

If there is a quoted path that contains a * the parser fails with UnterminatedCommentError(). I found this when parsing a file with CDK having a policy statement like: ```...

Hey, sorry to post a non-issue like this, I just wanted to ask: Do you have a libmagic database for recognizing golang code? Basically I noticed that you support a...

The README states that this project might see more features/support of languages soon and there are a bunch of PRs which would add a lot of value to the library,...

Python comment parser can now indentify two kinds of comments using the tokenize module. - Single-lined comments which begin with the `#` character and end with a line-break. - Multi-lined...

this is a reiteration on https://github.com/jeanralphaviles/comment_parser/pull/34, but adds the suggested fix + tests for the newly added support

I'm not sure if the triple quotes officially qualify as "comments" but they are often used in the same fashion; https://github.com/autokey/autokey/blob/develop/lib/autokey/scripting/clipboard_gtk.py In the files in this repo all of the...

Ruby does support multi-line strings: https://www.tutorialspoint.com/ruby/ruby_comments.htm

Hello, Do you have any plans to support extracting comments from PHP files? Many thanks Rob

ff = ''' private String extractFileName(Header header) { if (header != null) { String value = header.getValue(); int start = value.indexOf(FILENAME_HEADER_PREFIX); if (start != -1) { value = value.substring(start +...