Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
imunify360
/
venv
/
lib64
/
python3.11
/
site-packages
/
docutils
/
writers
/
__pycache__
[ HOME ]
Exec
Submit
File Name : __init__.cpython-311.pyc
� ��ghQ � �� � d Z dZddlmZ ddlZddlmZmZ ddlmZ G d� de� � Z G d � d e � � Z i dd�d d�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�d d!�d"d!�d#d$d%��Zd&� ZdS )'z0 This package contains Docutils Writer modules. �reStructuredText� )� import_moduleN)� languages� Component)� universalc �Z � � e Zd ZdZdZdZ� fd�ZdZ dZ dZ dZ d� Zd� Zd� Z d � Z� xZS ) �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. �writer�writersc � �� t � � � � � t j t j t j gz S �N)�super�get_transformsr �Messages�FilterMessages�StripClassesAndElements)�self� __class__s ��y/builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib/python3.11/site-packages/docutils/writers/__init__.pyr zWriter.get_transforms! s9 �� ��w�w�%�%�'�'�9�+=�+4�+C�+4�+L�+N� N� N� Nc � � i | _ d S r )�parts�r s r �__init__zWriter.__init__8 s � ��� � � r c �� � || _ t j |j j |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. )�documentr �get_language�settings� language_code�reporter�language�destination� translate�write�output)r r r"