(infile, fmt=None)
| 44 | |
| 45 | |
| 46 | def read_decls(infile, fmt=None): |
| 47 | if fmt is None: |
| 48 | fmt = _get_format(infile) |
| 49 | read_all, _ = _get_format_handlers('decls', fmt) |
| 50 | for decl, _ in read_all(infile): |
| 51 | yield decl |
| 52 | |
| 53 | |
| 54 | def write_decls(decls, outfile, fmt=None, *, backup=False): |
nothing calls this directly
no test coverage detected
searching dependent graphs…