3 Eã\Gã@s.dZddlmZmZmZGdd„dejƒZdS)z#Reader for existing document trees.é)ÚreadersÚutilsÚ transformsc@s$eZdZdZdZdZd Zdd„ZdS) ÚReadera Adapt the Reader API for an existing document tree. The existing document tree must be passed as the ``source`` parameter to the `docutils.core.Publisher` initializer, wrapped in a `docutils.io.DocTreeInput` object:: pub = docutils.core.Publisher( ..., source=docutils.io.DocTreeInput(document), ...) The original document settings are overridden; if you want to use the settings of the original document, pass ``settings=document.settings`` to the Publisher call above. Údoctreezdoctree readerrcCsD|j|_tj|jƒ|j_|j|j_tj|jjddƒ|jjƒ|j_ dS)zp No parsing to do; refurbish the document tree instead. Overrides the inherited method. ÚsourceÚN) ÚinputÚdocumentrZ TransformerZ transformerÚsettingsrZ new_reporterÚgetZreporter)Úself©rúr/private/var/folders/pf/wv4htv3x0qs2c2mp0dnn0kchsvlck3/T/pip-install-emcbgzcf/docutils/docutils/readers/doctree.pyÚparse s  z Reader.parseN)r)r)Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú supportedZconfig_sectionZconfig_section_dependenciesrrrrrr s rN)rZdocutilsrrrZReReaderrrrrrÚs