(implicit=False)
| 22 | return ''.join(encode_stream(line)) |
| 23 | |
| 24 | def doc_start(implicit=False): |
| 25 | if implicit: |
| 26 | return {'emit': '', 'handle': 'OnDocumentStart(_)'} |
| 27 | else: |
| 28 | return {'emit': 'BeginDoc', 'handle': 'OnDocumentStart(_)'} |
| 29 | |
| 30 | def doc_end(implicit=False): |
| 31 | if implicit: |