Hacked By AnonymousFox
�
j��fG � �D � d Z ddlmZmZmZ G d� dej � � ZdS )z#Reader for existing document trees.� )�readers�utils�
transformsc �$ � e Zd ZdZdZdZdZd� 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)r c �
� | j | _ t j | j � � | j _ | j | j _ t
j | j � dd� � | j j � � | 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)�selfs �x/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/docutils/readers/doctree.py�parsezReader.parse so � �
�
��
� %/�$:�4�=�$I�$I��
�!�!%���
�� "'�!3��M���h��+�+�T�]�-C�"E� "E��
���� N)�__name__�
__module__�__qualname__�__doc__� supported�config_section�config_section_dependenciesr � r r r r
sD � � � � � �
�
� �I�%�N�".��E� E� E� E� Er r N)r �docutilsr r r �ReReaderr r r r �<module>r"