Synopsis - Synopsis.Processors.Comments.Filter.CFilter

module Synopsis.Processors.Comments.Filter
class CFilter
File: ../Synopsis/Processors/Comments/Filter.py
A class that filters C-style comments.
Class attributes Summary:
comment
line
Methods Summary:
__init__(self, * * kwds)
filter_comment(self, comment)
Finds comments in the C format.

Class attributes Inherited from Filter
visit_builtin

Methods Inherited from Filter
process, visit_declaration

Methods Details:
__init__(self, * * kwds)
Compiles the regular expressions
filter_comment(self, comment)
Finds comments in the C format. The format is /* ... */. It has to cater for all five line forms: "/* ...", " * ...", " ...", " */" and the one-line "/* ... */".
Generated on Thu Apr 16 16:27:07 2009 by
synopsis (version devel)