A class that selects only //. comments.
| Operations Summary: | |
| __init__(self) Compiles the regular expressions [Source] | |
| process(self, decl) Calls processComment on all comments [Source] | |
| processComment(self, comment) Replaces the text in the comment. [Source] | |
| strip_star(self, str) Strips all star-format comments from the string [Source] | |
| parse_ssd(self, str) Filters str and returns just the lines that start with //. [Source] | |
| Operations Inherited from CommentProcessor | |
| processAll, visitDeclaration | |
| Operation Details: |
Replaces the text in the comment. It calls strip_star() first to remove all multi-line star comments, then follows with parse_ssd().