$+ D d Z ddlmZmZmZ G d dej ZdS )z#Reader for existing document trees. )readersutils
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)
inputdocumentr Transformertransformersettingsr new_reportergetreporter)selfs x/builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib/python3.11/site-packages/docutils/readers/doctree.pyparsezReader.parse so
%/$:4=$I$I
!!%
"'!3Mh++T]-C"E "E
N)__name__
__module____qualname____doc__ supportedconfig_sectionconfig_section_dependenciesr r r r r
sD
I%N".E E E E Er r N)r docutilsr r r ReReaderr r r r