Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
module Synopsis::Linker::Comments
class JavaComments
Files: Synopsis/Linker/Comments.py
JavaComments-inheritance Scopes/Synopsis/Linker/Comments/CommentProcessor.html

A class that formats java /** style comments


Operations Summary:
 __init__(self)
Compiles the regular expressions [Source]
 process(self, decl)
Calls processComment on all comments [Source]
 processComment(self, comment)
Finds comments in the java format. [Source]

Operations Inherited from CommentProcessor
processAll, visitDeclaration

Operation Details:
  processComment(self, comment)

Finds comments in the java format. The format is /** ... */, and it has to cater for all four line forms: "/** ...", " * ...", " */" and the one-line "/** ... */".