Server IP : 184.154.167.98 / Your IP : 18.218.128.229 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/html5lib/treewalkers/__pycache__/ |
Upload File : |
3 B;�W@ � @ s� d dl mZmZmZ yd dlmZ W n> ek rb yd dlmZ W n ek r\ eZY nX Y nX d dl Z d dl mZ ddlm Z ddlmZ e jd �Zd d� Zee�ZdS )� )�absolute_import�division�unicode_literals)�OrderedDictN)�string_types� )�base� )�moduleFactoryFactoryz {([^}]*)}(.*)c s, | }|j d�j� G � fdd�dtj�}t� S )NZasdc s4 e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Zd S )z#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 s2 t |t�r2|\}}}}|dkr.tjt||�fS |}t|d�sD|j� }|jdkrVtjfS |jdkr|tj |j |jd�|jd�fS |j� kr�tj|j fS t j|j�}|r�|j� \}}n d }|j}t� }xPt|jj� �D ]>\} } t j| �}|�r| ||jd �|jd �f<