| Server IP : 217.160.0.135 / Your IP : 216.73.217.37 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/docutils/transforms/__pycache__/ |
Upload File : |
�
N=&b�� � �h � d Z dZddlmZmZ ddlmZ G d� de� � Z G d� de� � Z G d � d
e� � Z G d� de� � Z
G d
� de� � Z G d� de� � Z G d� de
� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� dej � � ZdS )z&
Transforms for resolving references.
�reStructuredText� )�nodes�utils)� Transformc � � e Zd ZdZdZd� ZdS )�PropagateTargetsa}
Propagate empty internal targets to the next element.
Given the following nodes::
<target ids="internal1" names="internal1">
<target anonymous="1" ids="id1">
<target ids="internal2" names="internal2">
<paragraph>
This is a test.
PropagateTargets propagates the ids and names of the internal
targets preceding the paragraph to the paragraph itself::
<target refid="internal1">
<target anonymous="1" refid="id1">
<target refid="internal2">
<paragraph ids="internal2 id1 internal1" names="internal2 internal1">
This is a test.
i c � � | j � t j � � D �]T}t |j t j � � s?|� d� � s*|� d� � s|� d� � r�bt |� � dk s
J d� � �|� d�� � }t |t j
� � r1|� dd� � � }t |t j
� � �1|�@t |t j t j f� � rt |t j � � s��$|d
�
|d
� � |d �
|d � � t |d� � si |_ t |d
� � si |_ |d
D ]}|| j j |<