| Tor Norbye | 3a2425a | 2013-11-04 10:16:08 -0800 | [diff] [blame^] | 1 | # $Id: null.py 4564 2006-05-21 20:44:42Z wiemann $ |
| 2 | # Author: Martin Blais <blais@furius.ca> | ||||
| 3 | # Copyright: This module has been placed in the public domain. | ||||
| 4 | |||||
| 5 | """A do-nothing parser.""" | ||||
| 6 | |||||
| 7 | from docutils import parsers | ||||
| 8 | |||||
| 9 | |||||
| 10 | class Parser(parsers.Parser): | ||||
| 11 | |||||
| 12 | """A do-nothing parser.""" | ||||
| 13 | |||||
| 14 | supported = ('null',) | ||||
| 15 | |||||
| 16 | config_section = 'null parser' | ||||
| 17 | config_section_dependencies = ('parsers',) | ||||
| 18 | |||||
| 19 | def parse(self, inputstring, document): | ||||
| 20 | pass | ||||