Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/docutils/__pycache__/ |
Upload File : |
o �-$`@ � @ s0 d Z ddlmZ ddlmZ dZddlZddlZddlZddl Z ddl Z ejdkr-eZ eZG dd� de�ZG d d � d e�Zejdk rKG dd� de �Zne Zd d� Z�djdd�ZG dd� dee�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG d d!� d!e�ZG d"d#� d#e�ZG d$d%� d%e�ZG d&d'� d'e�Z G d(d)� d)e�Z!G d*d+� d+e�Z"G d,d-� d-e"�Z#G d.d/� d/e"�Z$G d0d1� d1e"�Z%G d2d3� d3e"�Z&G d4d5� d5e�Z'G d6d7� d7e�Z(G d8d9� d9e�Z)G d:d;� d;e�Z*G d<d=� d=e�Z+G d>d?� d?e�Z,G d@dA� dAee!e�Z-G dBdC� dCeee�Z.G dDdE� dEeee�Z/G dFdG� dGee�Z0G dHdI� dIee�Z1G dJdK� dKee�Z2G dLdM� dMee�Z3G dNdO� dOee�Z4G dPdQ� dQee�Z5G dRdS� dSee�Z6G dTdU� dUee�Z7G dVdW� dWee�Z8G dXdY� dYee�Z9G dZd[� d[ee�Z:G d\d]� d]ee�Z;G d^d_� d_e e�Z<G d`da� dae e�Z=G dbdc� dce e�Z>G ddde� dee!e�Z?G dfdg� dge!e�Z@G dhdi� die!e�ZAG djdk� dke!e�ZBG dldm� dme#e�ZCG dndo� doe#e�ZDG dpdq� dqe#e�ZEG drds� dse$e�ZFG dtdu� due$e�ZGG dvdw� dwe(e�ZHG dxdy� dye$e�ZIG dzd{� d{e(e�ZJG d|d}� d}e(e�ZKG d~d� de(e�ZLG d�d�� d�e(e�ZMG d�d�� d�e$e�ZNG d�d�� d�e(e�ZOG d�d�� d�e(e�ZPG d�d�� d�e(e�ZQG d�d�� d�e(e�ZRG d�d�� d�e(e�ZSG d�d�� d�e(e�ZTG d�d�� d�e$e�ZUG d�d�� d�e(e�ZVG d�d�� d�e(e�ZWG d�d�� d�e(e�ZXG d�d�� d�e#e�ZYG d�d�� d�e#e�ZZG d�d�� d�e#e�Z[G d�d�� d�e#e�Z\G d�d�� d�e(e�Z]G d�d�� d�e#e�Z^G d�d�� d�e(e�Z_G d�d�� d�e%e�Z`G d�d�� d�e%e�ZaG d�d�� d�e%e�ZbG d�d�� d�e%e�ZcG d�d�� d�e%e�ZdG d�d�� d�e%e�ZeG d�d�� d�e%e�ZfG d�d�� d�e%e�ZgG d�d�� d�e%e�ZhG d�d�� d�e%e�ZiG d�d�� d�e&e'e�ZjG d�d�� d�e&e'e�ZkG d�d�� d�e&e'e)ee+�ZlG d�d�� d�e#eee,e+�ZmG d�dÄ d�e#eee,e+�ZnG d�dń d�e(e�ZoG d�dDŽ d�e#e�ZpG d�dɄ d�e(e�ZqG d�d˄ d�e(e�ZrG d�d̈́ d�e#e�ZsG d�dτ d�e(e�ZtG d�dф d�e(e�ZuG d�dӄ d�e(e�ZvG d�dՄ d�e(e�ZwG d�dׄ d�e(e�ZxG d�dل d�e(e�ZyG d�dۄ d�e&eee�ZzG d�d݄ d�e&e'e�Z{G d�d߄ d�e&e)ee�Z|G d�d� d�e)e�Z}G d�d� d�e)e�Z~G d�d� d�e)e�ZG d�d� d�e#e)e*e�Z�G d�d� d�e)e*e�Z�G d�d� d�e)e*e�Z�G d�d� d�e)e�Z�G d�d� d�e)e�Z�G d�d� d�e)e�Z�G d�d� d�e)e�Z�G d�d�� d�e)e�Z�G d�d�� d�e)e�Z�G d�d�� d�e)e�Z�G d�d�� d�e#e)e�Z�G d�d�� d�e)e�Z�G d�d�� d�e)e�Z�G �d �d� �de)e�Z��d��� Z� G �d�d� �de�Z�G �d�d� �de��Z�G �d�d� �de��Z��d �d � Z��d�d� Z��d �d� Z��d�d� Z�e�e�� G �d�d� �de��Z�G �d�d� �de��Z�G �d�d� �de��Z�G �d�d� �de��Z�G �d�d� �de��Z�G �d�d� �de��Z�G �d�d� �de��Z�G �d�d � �d e��Z��d!�d"� Z�e���d#�Z�e���d$�Z�i �d%�d&��d'�d(��d)�d*��d+�d,��d-�d.��d/�d0��d1�d2��d3�d2��d4�d5��d6�d(��d7�d8��d9�d:��d;�d.��d<�d=��d>�d?��d@�d0��dA�d0�i �dB�dC��dD�dE��dF�dG��dH�dE��dI�d.��dJ�d=��dK�d0��dL�dM��dN�d5��dO�dP��dQ�dE��dR�dS��dT�dM��dU�dV��dW�dX��dY�dC��Z��dZ�d[�d\�d]�d^�d_�Z��d`�da� Z��db�dc� Z��dd�de� Z��df�dg� Z��dh�di� Z�dS (k a� Docutils document tree element class library. Classes in CamelCase are abstract base classes or auxiliary classes. The one exception is `Text`, for a text (PCDATA) node; uppercase is used to differentiate from element classes. Classes in lower_case_with_underscores are element classes, matching the XML element generic identifiers in the DTD_. The position of each node (the level at which it can occur) is significant and is represented by abstract base classes (`Root`, `Structural`, `Body`, `Inline`, etc.). Certain transformations will be easier because we can use ``isinstance(node, base_class)`` to determine the position of the node in the hierarchy. .. _DTD: http://docutils.sourceforge.net/docs/ref/docutils.dtd � )�print_function)�Counter�reStructuredTextN�� r c @ s� e Zd ZdZdd� Zeej�Zeej�Zeej�Zeej �Z eej �Z eej�Zeej�Zeej �Z eej�Zeej�Zeej�Zeej�ZdS )�_traversal_listFc s d�� �fdd�}|S )Nzm The iterable returned by Node.traverse() will become an iterator instead of a list in Docutils > 0.16.c s2 | j stj�tdd� d| _ � | g|�R i |��S )N� �� stacklevelT)�done�warnings�warn� FutureWarning)�self�args�kwargs��fun�msg� �0/usr/lib/python3/dist-packages/docutils/nodes.py�wrapper, s z3_traversal_list._warning_decorator.<locals>.wrapperr )r r r r r �_warning_decorator( s z"_traversal_list._warning_decoratorN)�__name__� __module__�__qualname__r r �list�__add__�__contains__�__getitem__�__reversed__�__setitem__�append�count�extend�index�insert�pop�reverser r r r r % s r c @ s� e Zd ZdZdZ dZ dZ dZedd� �Z e j dd� �Z dd� Zej dk r)eZej dk r2d d � Zd)dd�Zd*dd�Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd � Z ! "d+d#d$�Z ! "d+d%d&�Z ! "d,d'd(�ZdS )-�Nodez0Abstract base class of nodes in a document tree.Nc C s&