Debian Codegraph @

test/local-parser.py

raw symbols SCIP
1 # $Id: local-parser.py 9026 2022-03-04 15:57:13Z milde $
2 # Authors: Engelbert Gruber <[email protected]>
3 # Toshio Kuratomi <[email protected]>
4 # Copyright: This module is put into the public domain.
5
6 """
7 mini-reader to test get_reader_class with local reader
8 """
9
10 from docutils import parsers
11
12
13 class Parser(parsers.Parser):
14
15 supported = ('dummy',)
16 """Formats this reader supports."""
17
18 def parser(self, inputstring, document):
19 self.setup_parse(inputstring, document)
20 self.finish_parse()