Back to index

moin  1.9.0~rc2
text_cplusplus.py
Go to the documentation of this file.
00001 # -*- coding: iso-8859-1 -*-
00002 """
00003     MoinMoin - C/C++ Source Parser
00004 
00005     DEPRECATED compatibility wrapper calling the highlight parser.
00006 
00007     This is to support (deprecated) existing syntax like:
00008     {{{#!cplusplus ...
00009     ...
00010     }}}
00011 
00012     It is equivalent to the new way to highlight code:
00013     {{{#!highlight cpp ...
00014     ...
00015     }}}
00016 
00017     @copyright: 2008 MoinMoin:ThomasWaldmann
00018     @license: GNU GPL, see COPYING for details.
00019 """
00020 
00021 from MoinMoin.parser.highlight import Parser as HighlightParser
00022 from MoinMoin.parser.highlight import Dependencies
00023 
00024 class Parser(HighlightParser):
00025     parsername = 'cpp'  # Lexer name pygments recognizes
00026