| Server IP : 217.160.0.135 / Your IP : 216.73.216.115 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 : /usr/lib/python3/dist-packages/html5lib/treewalkers/__pycache__/ |
Upload File : |
�
V=�^� � � � d dl mZmZmZ d dlmZ d dlZd dlmZ ddl m
Z
ddlmZ ej
d � � Zd
� Z ee� � ZdS )� )�absolute_import�division�unicode_literals)�OrderedDictN)�string_types� )�base� )�moduleFactoryFactoryz
{([^}]*)}(.*)c � �� | }|� d� � j � G �fd�dt j � � }t � � S )N�asdc �0 �� e Zd ZdZ� fd�Zd� Zd� Zd� ZdS )�#getETreeBuilder.<locals>.TreeWalkera� Given the particular ElementTree representation, this implementation,
to avoid using recursion, returns "nodes" as tuples with the following
content:
1. The current element
2. The index of the element relative to its parent
3. A stack of ancestor elements
4. A flag "text", "tail" or None to indicate if the current node is a
text node; either the text or tail of the current element (1)
c � �� t |t � � r)|\ }}}}|dv rt j t ||� � fS |}t |d� � s|� � � }|j dv r
t j fS |j dk r;t j |j
|� d� � |� d� � fS |j �k rt j |j
fS t |j t � � sJ t |j � � � � �t � |j � � }|r|� � � \ }}n d }|j }t% � � }t'