403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/docutils/writers/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/docutils/writers/__pycache__/__init__.cpython-39.pyc
a

OԼa��@s�dZdZddlZddlZddlmZddlZddlmZm	Z	ddl
mZGdd�de	�ZGd	d
�d
e�Z
dddddd
dddddddddddddd�Zdd�ZdS)z0
This package contains Docutils Writer modules.
ZreStructuredText�N)�
import_module)�	languages�	Component)�	universalc@sPeZdZdZdZdZdd�ZdZdZdZ	dZ
dd�Zd	d
�Zdd�Z
d
d�ZdS)�Writera
    Abstract base class for docutils Writers.

    Each writer module or package must export a subclass also called 'Writer'.
    Each writer must support all standard node types listed in
    `docutils.nodes.node_class_names`.

    The `write()` method is the main entry point.
    �writerZwriterscCst�|�tjtjtjgS�N)r�get_transformsrZMessagesZFilterMessagesZStripClassesAndElements��self�r�=/usr/lib/python3.9/site-packages/docutils/writers/__init__.pyr	"s
�zWriter.get_transformsNcCs
i|_dSr)�partsr
rrr
�__init__6szWriter.__init__cCs:||_t�|jj|j�|_||_|��|j�	|j
�}|S)a/
        Process a document into its final form.

        Translate `document` (a Docutils document tree) into the Writer's
        native format, and write it out to its `destination` (a
        `docutils.io.Output` subclass object).

        Normally not overridden or extended in subclasses.
        )�documentrZget_language�settingsZ
language_codeZreporter�language�destination�	translate�write�output)rrrrrrr
r?s
�zWriter.writecCstd��dS)a
        Do final translation of `self.document` into `self.output`.  Called
        from `write`.  Override in subclasses.

        Usually done with a `docutils.nodes.NodeVisitor` subclass, in
        combination with a call to `docutils.nodes.Node.walk()` or
        `docutils.nodes.Node.walkabout()`.  The ``NodeVisitor`` subclass must
        support all standard elements (listed in
        `docutils.nodes.node_class_names`) and possibly non-standard elements
        used by the current Reader as well.
        z"subclass must override this methodN)�NotImplementedErrorr
rrr
rRszWriter.translatecCs,|j|jd<|jjj|jd<tj|jd<dS)z<Assemble the `self.parts` dictionary.  Extend in subclasses.Zwhole�encoding�versionN)rrrrZoutput_encoding�docutils�__version__r
rrr
�assemble_parts`szWriter.assemble_parts)�__name__�
__module__�__qualname__�__doc__Zcomponent_typeZconfig_sectionr	rrrrrrrrrrrr
rs
	rc@seZdZdZdd�ZdS)�UnfilteredWriterz�
    A writer that passes the document tree on unchanged (e.g. a
    serializer.)

    Documents written by UnfilteredWriters are typically reused at a
    later date using a subclass of `readers.ReReader`.
    cCs
t�|�Sr)rr	r
rrr
r	qszUnfilteredWriter.get_transformsN)rrrr r	rrrr
r!gsr!Z	html4css1Zhtml5_polyglotZs5_htmlZlatex2eZxetexZodf_odtZ	pseudoxmlZrlpdfZdocutils_xml)ZhtmlZhtml4Zxhtml10Zhtml5ZxhtmlZs5ZlatexZxelatexZluatexZlualatexZodfZodtZoofficeZ
openofficeZlibreofficeZpprintZpformatZpdfZxmlc
Cs�|��}|tvrt|}ztd|�}WnPtyxzt|�}Wn0tyr}ztd|��WYd}~n
d}~00Yn0|jS)z6Return the Writer class from the `writer_name` module.zdocutils.writers.zNo writer named "%s".N)�lower�_writer_aliasesr�ImportErrorr)Zwriter_name�module�errrrr
�get_writer_class�s(r')r Z
__docformat__Zos.path�os�sys�	importlibrrrrZdocutils.transformsrrr!r#r'rrrr
�<module>s<T�

Youez - 2016 - github.com/yon3zu
LinuXploit