simpleparse.common.comments
index
s:\sp\simpleparse\common\comments.py

Common comment formats
 
To process, handle the "comment" production,
(the specific named comment formats are all
expanded productions, so you won't get them
returned for processing).
 
 
        hash_comment
                # to EOL comments
        slashslash_comment
                // to EOL comments
        semicolon_comment
                ; to EOL comments
        slashbang_comment
        c_comment
                non-nesting /* */ comments
        slashbang_nest_comment
        c_nest_comment
                nesting /* /* */ */ comments

 
Modules
            
simpleparse.common.chartypes
simpleparse.common
simpleparse.objectgenerator
 
Data
             __file__ = r'S:\sp\simpleparse\common\comments.pyc'
__name__ = 'simpleparse.common.comments'
_p = <simpleparse.parser.Parser instance at 0x0086E2A0>
c = {'c_comment': SequentialGroup( report = 1, expanded = ... 0, value = '*/', ), ], ), 'c_nest_comment': SequentialGroup( report = 1, expanded = ... value = 'comment_stop', ), ], ), 'hash_comment': LibraryElement( production = 'hash_comment',...se.generator.Generator instance at 0x0081D238>, ), 'semicolon_comment': LibraryElement( production = 'semicolon_comm...se.generator.Generator instance at 0x0081D238>, ), 'slashbang_comment': SequentialGroup( report = 1, expanded = ... 0, value = '*/', ), ], ), 'slashbang_nest_comment': SequentialGroup( report = 1, expanded = ... value = 'comment_stop', ), ], ), 'slashslash_comment': LibraryElement( production = 'slashslash_com...se.generator.Generator instance at 0x0081D238>, )}
ccomments = '\n### comments in format /* comment */ with no re..."*/"*\n>slashbang_comment< := \'/*\', comment, \'*/\'\n'
eolcomments = "\n### comment formats where the comment goes\n### ..., EOL\n>slashslash_comment< := '//', comment, EOL\n"
name = 'slashslash_comment'
nccomments = '\n### nestable C comments of form /* comment /* i...comment< := comment_start, comment, comment_stop\n'