HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/docutils/readers/__pycache__/doctree.cpython-310.pyc
o

@x#[G�@s.dZddlmZmZmZGdd�dej�ZdS)z#Reader for existing document trees.�)�readers�utils�
transformsc@s$eZdZdZdZdZdZdd�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 reader)rcCsD|j|_t�|j�|j_|j|j_t�|j�dd�|jj�|j_	dS)zp
        No parsing to do; refurbish the document tree instead.
        Overrides the inherited method.
        �source�N)
�input�documentr�Transformer�transformer�settingsr�new_reporter�get�reporter)�self�r�:/usr/lib/python3/dist-packages/docutils/readers/doctree.py�parse s
�zReader.parseN)�__name__�
__module__�__qualname__�__doc__�	supported�config_section�config_section_dependenciesrrrrrr
srN)r�docutilsrrr�ReReaderrrrrr�<module>s